How to configure myeclipse environment variables in win7

Source: Internet
Author: User

Java environment variable configuration method in Windows 7

08:30:25 Source: [url =] programming Eden [/url] Author: programming Eden

Java environment variable configuration method in Windows 7:
1. Right-click "my computer"-> Properties
600) makesmallpic (this, 418); "Height =>
Select the "advanced system settings" option in the left navigation bar. Are you familiar with this?
600) makesmallpic (this, 441); "Height =>
Continue to select the "environment variable" option in the lower right corner
2. Configure Java environment variables in win7
600) makesmallpic (this, 407); "Height =>
Perform the following configuration under "system variables:
(1) Create-> variable name: java_home variable value: D:/Java/jdk1.6.0 _ 12 (this is just my JDK installation path)
(2) edit-> variable name: Path to add % java_home %/bin at the beginning of the variable value; % java_home %/JRE/bin
(3) create-> variable name: classpath variable value:.; % java_home %/LIB; % java_home %/lib/dt. jar; % java_home %/lib/tools. Jar
(4) edit-> variable name: java_home, variable value: D:/Java/jdk1.6.0 _ 10
Note: When the set variable is at the end, do not add ";".

 3. test whether the environment variable is set successfully.
In the lower-left search box, type
CMD
Or press the "win + R" key. The "win" key is the Microsoft icon in the middle of "Ctrl" and "Alt;
Enter the Java, javac, and Java-version commands respectively.
If the following information appears:
600) makesmallpic (this, 391); "Height =>
600) makesmallpic (this, 394); "Height =>
600) makesmallpic (this, 390); "Height =>
4. Your Java environment variable is configured successfully!
Note:

If

'Javac' is neither an internal or external command nor a running program.
Or batch files.

This error indicates that the Java environment variable configuration has failed. Check it carefully!

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.