Windows uses eclipse to build the Java, Python development environment

Source: Internet
Author: User

I only for small white! This article is only for small white! This article is only for small white!

I've been busy lately, and I've been working on the Java and Python development of Eclipse, but I've been trying to do it. It took a day to find the data side test, and spent the whole time on its own machine using Eclipse to build a Java and Python development environment on Windows and Ubuntu (Linux) systems.

Next use two blog post to organize my construction process, also do some summary of the problem.

First, using Eclipse + JDK to build the Java Development environment My system environment is: Windows 7 64-bit

1. First go to the official website to download the latest adaptation system JDK (Java Development Kit),: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

I downloaded: jdk-8u77-windows-x64.exe, download after double-click installation, until the installation is complete;

2. Configure the Java Development Environment (Windows System environment variables), this step is slightly more complicated, but if you are familiar with the Windows environment, no pressure;

Right-click on the computer-Properties-Advanced system settings-environment variables, the following dialog box appears:

Add the following variable to the system variable:

(Red section indicates Java JDK installation directory)

Variable Value

Java_home C:\Program files\java\jdk1.8.0_77

CLASSPATH.; %java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar (note the front is a bit)

Edit the path variable and add it at the end:%java_home%\bin;%java_home%\jre\bin

Now that the JDK deployment is complete, you can use the following method for simple validation:

Open the Windows command-line tool and enter the commands separately: Java–version and Javac-version

If the execution environment and the compiler version number are returned correctly, the JDK deployment is successful;

3. Download the latest Eclipse installer on the website: http://www.eclipse.org/downloads/

According to the development language you want to use to choose the installation package, I choose Java, direct installation completed;

4. Configuring the Java Development environment on eclipse

Open Eclipse, configure workspace, and then select the Window-preferences tab:

Select the Java tab to see if the version number of the compiler is the correct version number, I am 1.8

Then see the installed JREs inside the configuration of the Java operating environment is correct, if it is correct, basic means that the development environment configuration is successful, can be common Java development.

Ii. Build a python development environment with Eclipse + Pydev + python

1. Official website Download system-adapted Python 3.5.1,: https://www.python.org/downloads/

After the download completes, the direct installation completes;

2. Verify that Python is installed correctly

Open the Windows command-line tool, enter the command: Python, if the version number is displayed correctly, it is installed correctly;

3. Install the Pydev plug-in (instructions on the Pydev plugin can be self-Baidu)

Pydev plug-in installation is divided into online installation and offline installation;

The online installation method is as follows:

First open eclipse, under the Help menu bar, select Install new software, the following interface appears

Click Add to add a plugin update as shown in

Name can fill in, fill in an easy to identify the name it, location inside fill: http://pydev.org/updates;

Select pydev,finished, automatic installation complete

The offline installation method is as follows:

Manually download the plugin first: http://www.pydev.org/download.html

After the download is complete, extract two folders: Features and plugins. Copy the two files to the Dropins folder below Eclipse to

Restart Eclipse, you can see the Pydev plugin in window-preferences;

4. Configuring the Pydev Plugin

Continue window-preferences, select the Pydev tab, and in Interpreters--python interpreter see if the Python installation location is correct;

At this point, windows on the use of eclipse to build a Java, Python development environment completed, next is the work on Ubuntu, will continue in the next blog post;

Using eclipse to build a Java, Python development environment under Windows

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.