英文:
Eclipse Java Oxygen is not starting
问题
当我尝试打开<pre>Eclipse Java Oxygen</pre>时,它一直给我这个错误<pre>C:\Program Files\Java\jre1.8.0_152\lib\amd64\jvm.cfg</pre>,我的jre版本是<pre>jre1.8.0_152</pre>,我试图为Minecraft模组创建工作空间。
英文:
When i try to open <pre>Eclipse Java Oxygen </pre> it keeps giving me this error <pre>C:\Program Files\Java\jre1.8.0_152\lib\amd64\jvm.cfg </pre> my jre is <pre> jre1.8.0_152</pre> and i try to make workspace for minecraft mods
答案1
得分: 0
以下是解决“无法打开'C:\Program Files\Java\jre8\lib\amd64\jvm.cfg'错误”的确切步骤:
1)前往C:\Windows\System32
2)在该文件夹中搜索Java
3)从该文件夹中删除java.exe、javaws.exe和javaw.exe
4)打开命令提示符
5)输入Java,应该可以正常运行
请注意,根据您的笔记本电脑是32位还是64位,您的错误可能与我的稍有不同。例如,如果您使用的是32位的JVM,则可能会出现类似这样的错误:Error: could not open 'C:\Java\jre7\lib\i386\jvm.cfg'。
阅读更多:https://www.java67.com/2015/10/error-could-not-open-java-jmv-cfg-lib-eclipse.html#ixzz6J0plEMyA
英文:
Here are the exact steps to solve could not open 'C:\Program Files\Java\jre8\lib\amd64\jvm.cfg' error:
- Go to C:\Windows\System32
- Search for Java in that folder
- Remove java.exe, javaws.exe and javaw.exe from this folder
- Open command prompt
- Type Java it should work
Mind you, your error could be little different than mine depending upon whether your laptop is 32-bit or 64-bit. For example, if you are using 32-bit JVM then you can get something like Error: could not open 'C:\Java\jre7\lib\i386\jvm.cfg'.
Read more: https://www.java67.com/2015/10/error-could-not-open-java-jmv-cfg-lib-eclipse.html#ixzz6J0plEMyA
专注分享java语言的经验与见解,让所有开发者获益!
评论