无法在macOS Big Sur上运行Eclipse [英] Not able to run Eclipse on macOS Big Sur

查看:77
本文介绍了无法在macOS Big Sur上运行Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在macOS Big Sur开发人员Beta上运行eclipse,但收到一条错误消息,指出无法创建Java虚拟机".有什么办法可以解决错误

我正在运行的Java版本:

解决方案

我遇到了同样的问题.我可以通过打开/Applications/Eclipse.app/Contents/Info.plist 并添加以下内容来解决此问题:

 < string> -vm</string>< string>/库/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java</string> 

内部

 < key> Eclipse</key>< array>在这里添加!</array> 

当然,"/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java "值必须替换为基于您使用的JDK版本的实际路径.

I am not able to run eclipse on macOS Big Sur developers beta I am getting an error stating "Failed to create the java virtual machine". Is there any way to solve the error

The java version I am running:

解决方案

I have the same issue. I solve it by opening /Applications/Eclipse.app/Contents/Info.plist and adding:

<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java</string>

inside

<key>Eclipse</key>
        <array>
            ADD HERE!
        </array>

Of course the "/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java" value must be replaced with the actual path based on the JDK version you are using.

这篇关于无法在macOS Big Sur上运行Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆