To target more humans, I decided to repeat my java startup:
The first step for Java Development is to install the Java environment, that is, install the JDK on a pay-as-you-go basis;
1. Because Java was acquired by Oracle, we download JDK will go to the Oracle official website to download http://www.oracle.com/technetwork/java/archive-139210.html
The JDK to be downloaded should be a Java folder containing JDK and JRE. After correct download, we usually put the entire j file under the c: \ Program Files \ directory;
2. Configure the environment variables:
Computer --> properties --> advanced system settings
--> Select Advanced --> select environment variable -->
Now we can add several variables to the system environment variables:
Click Create. First, create a variable named java_home. The variable value is the JDK installation path.
Then: Write the second environment variable: classpath variable value: C: % java_home % \ Lib \ tools. jar; load the tool class
Finally, edit the PATH environment variable. Generally, the PATH variable already exists in your system environment variable. If it does not exist, create a new one.
Add % java_home % \ bin at the end of the variable;
After the configuration is complete, it is basically successful. Now let's verify it:
Run --> Enter cmd --> OK and enter Java in the displayed command window:
After a lot of attribute information appears, enter javac (Virtual Machine ):
You have successfully printed the table name and configured the table successfully. If you haven't printed the surface, your environment variable configuration is still incorrect. Review the preceding information again.
Next: http://www.cnblogs.com/shenliang123/archive/2012/04/17/2454117.html after completion
If you have any questions, you can improve your communication performance.