Java Development Environment Configuration (Win7 64-bit system/server 2008)

Source: Internet
Author: User
Tags java se

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)

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.