【发布时间】:2013-09-26 06:19:23
【问题描述】:
我使用的是 Windows 8,我刚刚重新启动了我的笔记本电脑。当我尝试打开 Eclipse 时,我得到了以下错误,可以在这里看到 Eclipse will not open due to environment variables 所以我去打开我的 eclipse.ini 并且我有以下代码,但我不知道该怎么做。尝试搜索网络没有运气。有人可以帮忙吗?
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
【问题讨论】:
-
您链接的线程包含两个完全有效的答案。你为什么不使用这些?
-
它是否显示完全相同的错误消息说
No Java virtual machine was found after searching the following locations?如果是这样,您引用的问题中已经有很多解决方案。如果错误不同,请告诉我们是什么 -
当我尝试它时,它对我不起作用。
-
@AdrianShum 相同的消息,我尝试了我提供的线程中提出的一些建议,但每次我遵循建议时,它都会继续带来相同的消息。
-
只是想知道:JDK 的 bin 目录在你的路径中吗?