Java programs rely on JDK, just like C # program dependencies. NETFramework the same.
So before developing, you have to install the JDK (Javadevelopkit) in Win7 or Linux, including some Java tools, and the JRE (javaruntimeenvironment) Java Runtime Environment.
System: Windows7
JDK version: jdk1.7
Installation path: C:/java
When you install the JDK, the public JRE shown above is the same as the subsequent separately installed JRE. So it's OK to just install one.
Follow the steps above to show the configuration interface of the environment variables.
New, adding
Variable name Java_home
Variable value is C:\Java\jdk1.7.0_15
The variable name is best capitalized.
Modify path to add the JDK's Bin directory to the path directory.
%java_home%\bin;%java_home%\jre\bin;
Open the cmd command window, execute Javac, eject a series of commands, this succeeds.
Download Eclipse.
The online eclipse and Myeclipse,eclipse are free and open source. MyEclipse was developed by the Organization on Eclipse, with more jar packs and more powerful features.
You can download the green version of Eclipse.
Go to the blog Park to see: http://www.cnblogs.com/laov/p/3499501.html
Go to Csdn to see: http://blog.csdn.net/weixuehao/article/details/17715793