Windows Subsystem for Linux environment variables

Source: Internet
Author: User

WSL (Windows Subsystem for Linux) environment variables are included with the Linux subsystem and the Windows system and are tested as follows:

[Email protected]:/mnt/c/windows/system32$ python-Vpython2.7. A[email protected]-pc:/mnt/c/windows/system32$ Python.exe-Vpython2.7. -[email protected]-pc:/mnt/c/windows/system32$ Python3-Vpython3.5.2[email protected]-pc:/mnt/c/windows/system32$ Python3.exe-Vpython3.6.3[email protected]-pc:/mnt/c/windows/system32$ Java-Version Program'Java'is included in the following packages:*default-JRE* gcj-5-jre-Headless* openjdk-8-jre-Headless* gcj-4.8-jre-Headless* gcj-4.9-jre-Headless* openjdk-9-jre-headless Please try: sudo apt install< selected Packages >[email protected]-pc:/mnt/c/windows/system32$ Java.exe-Versionjava version"1.8.0_25"Java (TM) SE Runtime Environment (build1.8.0_25-B18) Java HotSpot (TM) --bit Server VM (build25.25-b02, Mixed mode) [Email protected]-pc:/mnt/c/windows/system32$ Echo $PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/d/program Files/ Java/jdk1.8.0_25/bin:/mnt/d/program Files/java/jdk1.8.0_25/jre/bin:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/system32/wbem:/mnt/c/windows/system32/ Windowspowershell/v1.0:/mnt/c/program Files (x86)/nvidia corporation/physx/common:/mnt/e/android/sdk/platform-tools:/mnt/e/android/sdk/ tools:/mnt/c/users/wy/appdata/local/programs/python/python36/scripts:/mnt/c/users/wy/appdata/local/programs/ Python/python36:/mnt/c/users/wy/appdata/local/microsoft/windowsapps:/mnt/d/program Files/Java/jdk1.8.0_25/jre/bin:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/system32/wbem:/mnt/c/windows/system32/ Windowspowershell/v1.0:/mnt/c/program Files (x86)/nvidia corporation/physx/common:/mnt/e/android/sdk/platform-tools:/mnt/c/python27/ scripts:/mnt/c/Python27[email protected]-pc:/mnt/c/windows/system32$

Windows Subsystem for Linux environment variables

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.