Eclipse没有启动 [英] Eclipse is not starting
问题描述
环境变量是:
JAVA_HOME =/ opt / jdk1.6.0_20
PATH = $ PATH:/ opt / jdk1.6.0_20 / bin
还有一件事到目前为止,我通常将jre文件夹从jdk复制到eclipse目录,这是正常的,但实际的方式。我的意思是这不是标准的方法。
提前感谢
编辑eclipse.ini(从Eclipse文件夹),并在开头添加以下内容:
-vm
C:/Java/jdk1.6.0_22/bin
其中C:/ Java / jdk1.6.0_22 / bin应该是你到java bin目录的路径。
保持两行。
Eclipse starts from terminal but when i try to start it from gui then it says java runtime environment don't found.
Environment variables are:
JAVA_HOME="/opt/jdk1.6.0_20" PATH=$PATH:"/opt/jdk1.6.0_20/bin"
And one more thing so far i normally copy jre folder from jdk to eclipse directory, which works fine but what is actual way. i mean this won't be standard way to do that.
Thanks in advance
Edit eclipse.ini (from the Eclipse folder) and add the following at the beginning:
-vm
C:/Java/jdk1.6.0_22/bin
where C:/Java/jdk1.6.0_22/bin should be your path to the java bin directory. Keep it on two lines.
这篇关于Eclipse没有启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!