Error:could not open ' C:\Program files\java\jre6\lib\i386\jvm.cfg '

Source: Internet
Author: User

I just had Valentine's Day yesterday! Haha, long time no record of learning content, today in the House idle nothing to reinstall JDK, according to the reason is very simple;

The first step is to download the JDK;

The second step is to install the fool.

The third step is to configure the environment variables (below the corresponding changes according to your own installation path)

A.java_home: "D:\Program files\java\jdk1.6.0_37;" ;

B.path: ";D: \program Files\java\jdk1.6.0_37\bin;d:\program Files\java\jdk1.6.0_37\jre\bin;";

C.classpath: ".; %java_home%lib;%java_home%lib/tools.jar; ".

All right! win+r-->cmd-->java-version;

But! out the bottom of this ghost, not seen before!!!

Error:could not open ' C:\Program files\java\jre6\lib\i386\jvm.cfg ';

Well, I haven't seen it. Check the information, after the personal verification, found that the following solution can solve the problem.

1. Locate the C:\Windows\System32 folder under Java.exe, Javaw.exe, javaws.exe three executable files;

2. Deletion of the top three files;

Well, Win+r-->cmd-->java found the JDK to run.

Error:could not open ' C:\Program files\java\jre6\lib\i386\jvm.cfg '

Related Article

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.