MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

Tutorial of setting up Java development environment configuration

Source: Shangpin China | Type: Development | Time: August 9, 2015
JDK installation

one Website construction Installation environment requirements

Java has low requirements for computers. The following are the minimum requirements for computers based on the Windows platform. Hardware requirements: CPU P II or above, 64MB of memory, 100MB of hard disk space.

Software requirements: Windows 98/NT/2000/XP, Internet Explorer 5.0.

2. Download JDK

(1) Open the browser and enter the web address in the "Address" column //java. sun. com/javase/downloads/index. Jsp. Press Enter to open the JDK download main page of the official Java website, as shown in Figure 1-1.

 JDK download main page


(2) Click the Download button on the right side of "JDK 6 Update 14", and the page shown in Figure 1-2 will appear. Select Windows from the Platform drop-down list, Multi language from the Language drop-down list, and select
Click the Continue button in the check box of the same protocol.

 JDK download page selection platform and language


(3) Select "Java SE Development Kit 6u14 jdk-6ul4-windows-1586 Exe "to download. The size is 73 48MB.

3. Install JDK

Run jdk-6u14-windows-i586 Exe to install JDK. During installation, you can set the installation path and select components. The default installation path of the system is C: Program FilesJavajdkl 6.0_14, the default "Component Selection" is to install all.

After successful installation The directory structure of JDK is shown in Figure 1-3

 Directory structure of JDK

Configure environment variables

Since Java is platform independent, Java will not set the path or modify the registry when installing the JDK. Users need to set the environment variables themselves, but do not need to modify the registry. The environment variables set include path and java_home
And classpath.

Right click My Computer on the desktop. Select the [Properties] command in the pop-up shortcut menu. Select the [Advanced] tab in the pop-up [System Properties] dialog box, as shown in Figure 1-4.


 System Properties dialog box


Click Environment Variable. Open the Environment Variable dialog box, as shown in Figure 1-5.

 Environment Variable dialog box

1. Edit the user variable Path

Path is a variable that Windows has defined. Find the "Path" in the [Variable] column of the [User Variable] list box, click the [Edit] button, and add "; C: Program FilesJavajdkl. 6.0_14bin" to the [Variable Value] text box in the [Edit User Variable] dialog box, as shown in Figure 1-6.

 Edit User Variable Path


Add the path of the JDK compiler Javac.exe and interpreter Java.exe to Path.

2. Create a new environment variable java_home

Click the [New] button in the [User Variable] option area to create a java_home environment variable, and set the [Variable Value] to "C: Program FilesJavajdkl. 6.0_14bin", as shown in Figure 1-7.

 New environment variable java_home


Click OK and the configuration is successful.

3. Create a classpath

Classpath is the path of the JDK package (class library). Click New in the User Variable option area to create an environment address classpath, as shown in Figure 1-8.

 New classpath
The "." in the classpath variable value indicates that JDK can be executed in any current directory. It is usually written at the front as the first path for the system to find classes.

After setting the environment variables, click the [Start] button on the Windows taskbar and select the [Run] command. In the pop-up running dialog box, enter the command "cmd" into the DOS window. Enter the command "Java" or "Javac" in the DOS window. Press Enter. If the usage parameter prompt message appears, it indicates that the Java JDK is installed correctly. If there is a problem, check whether the path setting is correct.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]