The following is an example of the jdk1.8.0_05 version:
1. Add variable name in user variable: Java_home variable Value: D:\Java\jdk1.8.0_05 (based on instance path transformation)
2. Add variable name in user variable: CLASSPATH variable value:.; %java_home%\lib;%java_home%\jre\lib; (Transform based on instance path)
3, in the user variable path to modify the value of the variable:.; %java_home%\bin;%java_home%\lib;%java_home%\jre\lib;
To test whether the installation succeeded method:
1. Run-->cmd (under Administrator's permission) input: java-version
2. Write a Hello.java file on the D drive
Public class Hello { publicstaticvoid main (string[] args) { "Hello world! My java! " ); } }
Go to the current directory of D, write: Javac Hello.java Enter, and then write: Java Hello if it appears: Hello orld! My java! then you've installed it.
==========================================================================
Enterprise Version SDK (with JDK): http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-7-sdk-with-jdk-u45-2066865.html
To develop it, you need to download it. Windows Server 2008 can also be used on servers, configured as follows:
Note: The installation first installs the Java which applies to your operating system, the address is as follows: http://www.java.com/zh_CN/download/manual.jsp
The current JDK is roughly divided into three major versions:
Java Se:java Platform, standard Edition,java Platform Standards Edition, mainly used to develop desktop programs
Java Ee:java Platform, Enterprise Edition,java Platform Business Edition, mainly used to develop web programs
Java Me:java Platform, Micro Edition,java Platform miniature version, mainly used to develop mobile programs
Java Development Environment Configuration (Win7 64-bit system/server 2008)