开发者

Eclipse - No virtual machine found at location

开发者 https://www.devze.com 2023-03-29 23:20 出处:网络
A Java Runtime Environment or Java Development Kit must be available in order to ru开发者_开发技巧n Eclipse. No Java Virtual Machine is found after searching the following location:

A Java Runtime Environment or Java Development Kit must be available in order to ru开发者_开发技巧n Eclipse. No Java Virtual Machine is found after searching the following location:

c:/Program Files/Java/jdk1.6.0_18/jre/bin


Point into your jdk bin folder: c:/Program Files/Java/jdk1.6.0_18/bin rather than the jre/bin


Check the PATH environment variable from your system properties, you might have an entry c:/Program Files/Java/jdk1.6.0_18/jre/bin, is this path accessible or even actually there?

Open the eclipse.ini file on the root directory of eclipse. Add an entry as below

-vm
C:\Backups\jdk1.6.0_13\bin\javaw.exe

Note the line break between the -vm and the actual path. On other note, Eclipse uses its own built-in compiler and doesnt really need the jdk.

0

精彩评论

暂无评论...
验证码 换一张
取 消