Java JDK Installation

Source: Internet
Author: User

1. In the system variable, click New, the variable name fills in the Java_home, the variable value fills in the JDK installation path,

Fill in the "C:\Program files\java\jdk1.6.0_26" here.

2. In the system variable, click the new variable name to fill in the Classpath, the variable value is filled ".

;%java_home%\lib;%java_home%\lib\tools.jar ". Be careful not to forget the front dot and the middle semicolon. (Win 7)

In the system environment variable, click "Path" edit, put%java_home%/bin; add to the front, click OK to finish (win 8)

Start Eclipse pop-up "Failed to load the JNI shared library Jvm.dll" Error solving Method!

Cause 1: Jvm.dll does not exist in the given directory.

Countermeasures: (1) Reinstall the JRE or JDK and configure the environment variables.

(2) Copy a jvm.dll placed in the directory.

Cause 2:eclipse version is inconsistent with JRE or JDK version

Countermeasures: Either both are installed 64-bit, either installed 32-bit, not one is 32 bit one is 64 bit.

The probability of cause 2 is greater, cause 1 is unlikely to happen

Java JDK Installation

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.