Eclipse Java Oxygen 无法启动。

huangapple 未分类评论50阅读模式
英文:

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:

  1. Go to C:\Windows\System32
  2. Search for Java in that folder
  3. Remove java.exe, javaws.exe and javaw.exe from this folder
  4. Open command prompt
  5. 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

huangapple
  • 本文由 发表于 2020年4月8日 17:33:01
  • 转载请务必保留本文链接:https://java.coder-hub.com/61097535.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定