Eclipse cannot start the solution normally

Source: Internet
Author: User
Eclipseboot prompts javaw.exe in your current path, no Java Virtual Machine solution, three methods: 1. In the MS-DOS window, switch to the eclipse directory and run eclipse-vm f: \ noj2sdk \ bin \ javaw, you can start eclipse (the eclipse-VM Dir-location parameter can be used to specify other JRE .). That is, set the VM variable of eclipse. ini.
2. Copy the JRE directory under the F: \ noj2sdk directory to the eclipse directory to start eclipse.
3. Change the "F: \ noj2sdk" directory name to "F: \ j2sdk" to start eclipse.

The preceding three methods can be executed separately. If both methods are executed, by default, eclipse first executes the-VM parameter. If the-VM parameter is not found, it searches for the eclipse \ JRE subdirectory. If no-VM parameter is found, eclipse looks for the Java Runtime Environment registered in the system.

After you run eclipse for the first time or reinstall JDK, the following problems are frequently prompted:
... No Java virtual machine was found after searching the follwing locations:
D: javaeclipsejreinjavaw.exe

'Javaw.exe 'in your current path.

:

 

 

 

Javaw.exe is not found in the specified sequence. This is because javaw.exe is enabled when the eclipseconfig starts. After finding the directories in the path, you cannot find them. Then, you can find them in the eclipse installation directory (such as D: javaeclipse. That is, first find the external device. If not, find your own device. If none of them are found, report the above error.
 
Follow the prompt: eclipsemust be javaw.exe to run. To set the path, you can find javaw.exe through the PATH variable of the eclipse.
Solution:
Set the path of javaw.exe in path, for example:
D: javajrein
Or:
D: javajdkin
 
In addition, you can modify the eclipse. ini file and add the following two lines at the beginning:
 
-VM
D:/Java/jdk1.6.0 _ 10/bin/javaw.exe

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.