J2sdk installation and configuration

Source: Internet
Author: User
Java 2 platform, Standard Edition, v1.4.2
In

Http://java.sun.com/j2se/1.4.2/install-windows.html

Brief description:
1. download. The downloaded file name is
J2sdk_rj4_2 _ <version> -windows-586.exe.
<Version> indicates the version number of the current download, for example:
J2SDK_1_4_2_05-windows-586.exe (take this as an example below)
2. installation. Run the download file directly. We recommend that you set the installation directory to the root directory of the d drive and the root directory of j2sdk to D: \ j2sdk1.4.2 _ 05 after installation. It can also be installed in other custom directories. After installation, the directory tree structure is:

 
J2sdk1.4.2 _ <version>
 
____________________ | ___________________
|||||||||
 
||||Bin lib|Demo|
||| License |||JRE
 
|| Copyright |__| __
 
|Readme.txtInclude||
Readme.htmlBinLib

 
3. Configure environment variables.
1) Confirm that the Windows account is an administrator-level account.
2) Right-click [my computer]-select [properties] in the pop-up menu-select [advanced] in the pop-up dialog box-click [environment variables]
3) The following operations are performed in [system variables]. skip this step if the system variables already have the same variable name and contain the same variable value; if the system variable already has the same variable name but does not contain the same variable value, add the variable value (separated by ";"). If the system variable does not have the same variable name, perform the following operations to [Create] The variable name and assign the variable value.
[New] variable name: java_home variable value: D: \ j2sdk1.4.2 _ 05
[New] variable name: PATH variable value: % java_home % \ bin
[New] variable name: classpath variable value:
.; % Java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar; % java_home % \ Lib \ htmlconverter. jar (note: ". "must not be missing)
Restart the computer and complete j2sdk configuration.

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.