本文介绍了RubyMine 无法在优胜美地启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RubyMine 无法在 Yosemite 下启动,没有加载屏幕,没有错误消息.

RubyMine won't start under Yosemite, no loading screen, no error message.

这似乎是由 Yosemite 自带的默认 JVM 引起的

This seems to be caused by the default JVM that comes with Yosemite

EDIT 这似乎也影响了 WebStorm

EDIT This also seems to affect WebStorm

推荐答案

此解决方案有争议 - 请在应用更改之前阅读所有内容!

打开这个文件

使用 java -version 检查 Java 的版本,最有可能是 1.8,您应该看到如下内容:

Check the version of Java, most likely 1.8, by using java -version, you should see something like:

java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

打开和编辑

/Applications/RubyMine.app/Contents/Info.plist

或用于 WebStorm

Or for WebStorm

/Applications/WebStorm.app/Contents/Info.plist

更新以下密钥

<key>JVMVersion</key>
<string>1.7*</string>

<key>JVMVersion</key>
<string>1.8*</string>

RubyMine 现在应该可以使用了

RubyMine should now be good to go

JetBrains 不推荐此解决方案,因为它会破坏带有补丁的自动更新.这种折衷对我来说是可以接受的,因为我只想快速开始并避免安装 Java 1.6.

JetBrains do not recommend this solution as it will break autoupdating with patches. That tradeoff was acceptable for me as I just wanted to get going quickly and avoid installing Java 1.6.

完整讨论在这里https://intellij-support.jetbrains.com/entries/27854363-IDE-doesn-t-start-after-updating-to-Mac-OS-Yosemite-or-Mavericks

这篇关于RubyMine 无法在优胜美地启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-25 03:25