如何在JDK中启动eclipse? [英] Howto start eclipse in JDK?
问题描述
-vm C:\Program Files(x86) \Java\
但重新启动后,消息仍然存在。
我尝试过:
C:\Program Files(x86)\Java \bin
还有:
C:\程序文件(x86)\Java\bin\java.exe
但没有改变。
如何在JDK中启动eclipse?
提前感谢
如果您使用Windows,请右键单击eclipse快捷方式,然后在快捷方式中选择属性选项卡,您可以更改目标:框中的内容以指定jdk。我使用
C:\Program Files\eclipse-jee-galileo-sr1(3.5.1)\eclipse.exe -vmC:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe-vmargs -Xmx1024m -XX:PermSize = 256M -XX:MaxPermSize = 512M -XX:+ UseConcMarkSweepGC - XX:+ CMSIncrementalMode
由于某些原因,当我尝试编辑eclipse.ini文件时,无法使用jdk。 / p>
I just installed a Maven plug-in into eclipse the first time. Now there is a message on eclipse startup, that i should start eclipse in JDK not jre to make Maven components run fine. There is a -vm argument which I used in the eclipse.ini:
-vm C:\Program Files (x86)\Java\
But the message is still there after restart.
I've tried the:
C:\Program Files (x86)\Java\bin
and also the:
C:\Program Files (x86)\Java\bin\java.exe
But nothing changed.
How do I start eclipse in JDK?
Thanks in advance.
If you're using Windows, right click on your eclipse shortcut and select Properties, in the Shortcut tab you can change what's in the Target: box to specify the jdk. I use
"C:\Program Files\eclipse-jee-galileo-sr1 (3.5.1)\eclipse.exe" -vm "C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe" -vmargs -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
For some reason I couldn't get it to use the jdk when I tried editing the eclipse.ini file.
这篇关于如何在JDK中启动eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!