Python+eclipse+pydev Environment Construction

Source: Internet
Author: User

Http://www.cnblogs.com/Bonker/p/3584707.html

The above link has been described in detail, mainly to add a little, how to install the configuration Java JDK

First download Java installation package from official website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Unzip with the following command:

tar -xzvf jdk-8u31-linux-x64.tar.gz

Will get the jdk1.8.0_31 folder , it is recommended to put it in a relatively stable path, such as:

sudo mv jdk1.8.0_31/ /usr/local

You need to configure the following three environment variables:

  1. The
  2. PATH environment variable. The function is to specify the command search path, in java c/java/javadoc Wait, after setting the path variable, you can execute Javac/java tool .
  3. CLASSPATH Environment Variables . The role is to specify the class search path , to use the already written classes, the premise is to be able to find them, the JVM is through the classpth to find the class. We need to set the Dt.jar and Tools.jar in the Lib subdirectory of the JDK installation directory to classpath, of course, the current directory "." must also be added to the variable.
  4. Java_home environment variables. It points to the JDK 's installation directory, and software such as Eclipse/netbeans/tomcat finds and uses the installed JDK by searching for java_home variables.

You can configure environment variables by adding the following at the end of the/etc/profile file:

Export java_home=/usr/local/jdk1.8.0_31
Export path= $JAVA _home/bin: $PATH
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

Restart the computer to take effect.


Python+eclipse+pydev Environment Construction

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.