RubyMine fails to start on Yosemite

后端 未结 4 1162
北海茫月
北海茫月 2021-02-14 04:41

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

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

EDIT

相关标签:
4条回答
  • 2021-02-14 05:24

    JDK 1.6 is required to run and may be missing on your system. Please install Apple JDK 1.6. There should be a window with the suggestion to install Java when you start the product for the first time, but it could be hidden by other application windows.

    Apple JDK 1.6 download: http://support.apple.com/kb/DL1572.

    I have tried to down load the JDK 1.6, it works in my Mac.

    0 讨论(0)
  • 2021-02-14 05:24

    You shouldn't edit your plist file since it will prevent Rubymine from autoupdating. This is direct from their support pages:

    Modifying Info.plist will break the application digital signature and prevent the patch updates. We do not recommend modifying Info.plist file to run under JDK 1.7 or 1.8.

    Page located here:

    https://intellij-support.jetbrains.com/entries/27854363-IDE-doesn-t-start-after-updating-to-Mac-OS-Yosemite-or-Mavericks

    The correct answer is to install Apple JDK 1.6

    0 讨论(0)
  • 2021-02-14 05:25

    Just install java for OS X, and it'll solve the issue.

    Up till OS X El Capitan(10.11), this link solves. Or you can just google "java for osx", most probably first link will show you the right answer.

    0 讨论(0)
  • 2021-02-14 05:25

    This solution is controversial - please read all of it before applying changes!

    Open this file

    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)
    

    Open and edit

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

    Or for WebStorm

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

    Update the following key

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

    to

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

    RubyMine should now be good to go


    Feedback on this solution

    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.

    The full discussion is here https://intellij-support.jetbrains.com/entries/27854363-IDE-doesn-t-start-after-updating-to-Mac-OS-Yosemite-or-Mavericks

    0 讨论(0)
提交回复
热议问题