Java environment variable Configuration

Source: Internet
Author: User

Download and install JDK1. Download

JDK: Download website address

This download is the latest version, the following is the previous version

Next

After you enter the download page, the version number that you want to download first, and then see if your computer's system is 64-bit or 32-bit, 64-bit compatible with 32-bit, that is, 64-bit system can run a 32-bit JDK.

2. Computer system View

My Computer, right-click Properties

3. Select a version for your computer to download

With the Linux system is the big God, it is not marked out!

then click Download

4. Installation

After the download is complete

Then point to the next step, until you can change the installation path, here need to remember the installation path , preferably not installed in the system disk. Continue to click Next.

Environment variable configuration method one (mostly on the internet)

My Computer, right-click Properties

Next

1. Create Java_home

Click "New" under "System variables"

Create variable name: java_home, variable value for your JDK installation address

Find your installation Letter

Copy Address to Variable value

2. Create Classpath

Under "User Variables", click "New"

Variable name: classpath variable value.; %java_home%\lib; (punctuation must not be lost)

3. Edit the PATH variable

Locate the path variable in the system variable

At last add;%java_home%\bin;%java_home%\jre\bin

Just click on OK after clicking.

Method Two method Three

Java environment variable 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.