Eclipse Environment Small Note

Source: Internet
Author: User

Eclipse open prompt could not open jvm.cfg error

Most of this happens because the JDK was previously installed on the computer, after unloading the load, running Java command will appear error:could not open ... jvm.cfg error.

Open the System environment variable, view path, and see the configuration information such as:

%systemroot%\system32;%systemroot%;......%java_home%\lib;%java_home%\bin

Cause: When running Java, the default is to find the Java.exe file according to the path set in path, according to the above path information will first find the file under the%SystemRoot%\System32 directory, The directory of Java.exe corresponding to the JDK installation directory has been uninstalled, the file will naturally appear to open the prompt.

See here perhaps you understand that the simple solution has two:

1, directly delete the system32 directory (or Windows directory, depending on path settings in the path) under the Java.exe (in fact, look at the file date will find that the file is not the same as the current installation of the Java Bin directory file date);

2, direct the%java_home%\bin; put it at the very front of the path (know why);

How to solve failed to load the jnishared library

Does eclipse have a different number of JDK bits? First look at the number of bits for the two software, then uninstall one, install the same software as the other number of bits. 32 bits of the 64-bit to be separately corresponding

Eclipse Environment Small Note

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.