Under the WINDOW7 system.
Steps:
First step: Install the JDK first (remember where you installed it) I installed the D:\Program Files\java
Directory.
Step two: After the JDK is installed, configure the environment variables (emphasis), the following steps:
Right-click the computer to open properties----> Advanced system settings----> Environment variables
Step three: Set the user environment variable (difficulty and focus) find the variable named: Java_home not be able to create a new
Set the installation directory for the JDK as follows:
Fourth step: Set System environment variables (error prone)
Configure the system environment variable below to find Classpath (if not, create a new one)
(if there are other files in front of the directory, remember to separate them with semicolons)
.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
Fifth step: Then configure the environment variable (when configured, do not miss the semicolon),
Find the Bin folder directory, that is D:\Program files\java\jdk1.6.0_14\bin this address can be found in your installation JDK directory, copy the address into the PATH variable value
Sixth step: JDK Installation and environment variable configuration, you need to install MyEclipse programming software, this installation is very simple, according to the operation on the line, generally do not have any problems.
Seventh Step: Install MyEclipse programming soft, test whether the installation is successful, open "Start"---> Open "Run"--input cmd
If the following information appears, it represents success:
If ' Javac ' is not an internal or external command, it is not a running program
Then it is because the path of the JDK is not written correctly, look at the bin directory under which file path Javac, and then write the path such as: E:\Java\jdk1.6.0_16\bin
Install the configuration of the Eclipse environment variable,