Java+python+jython environment variable Configuration

Source: Internet
Author: User

One, the JAVA environment variable configuration:

New System Variables Java_home and Classpath
Variable name:java_home
Variable value:C:\Program files\java\jdk1.7.0
Variable name:CLASSPATH
Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

Where the variable value is for you to install your own JDK file directory here to be aware.

Select the environment variable named "path" In system variables, double-click the variable, add the absolute path of the bin directory in the JDK installation path to the value of the path variable, and delimit the semicolon with the half-width and the existing path.
Variable name:Path
Variable value:%java_home%\bin;%java_home%\jre\bin;
This is the Java environment configuration, the configuration is completed directly after the eclipse, it will automatically complete the configuration of the Java environment

The configuration of the test environment variable is now successful or not. Enter "JAVAC" in the DOS command line window and the output Help information is configured correctly

Second, the Python environment variable configuration:

Path=.; C:\python26;

Or you can only run the Python script through Python *.py, and if you want to run *.py directly, just modify the other environment variable Pathext:

Pathext=pathext;. PY;. PYM

Three, Jython environment change configuration:

Add the jython_thome environment variable and set it to the installation path.

jython_thome=c:\jython2.5.3

Configure the Classpath and path paths for each

Classpath=%jython_home%\lib

Path=%jython_home%\bin

Then go to cmd and execute jython.

Java+python+jython environment variable Configuration

Related Article

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.