LoginSignup
8
8

More than 5 years have passed since last update.

Yosemite で Java SE が原因で PhpStorm が起動しない際の対処

Posted at

この問題は、今後JetBrains側で解消される事があると思います。

参考:
https://laracasts.com/discuss/channels/general-discussion/phpstorm-does-not-work-in-yosemite-help

問題

PhpStorm 起動時に、
「PhpStorm を開くには、以前のJava SE 6 ランタイムをインストールする必要があります。」
と出て起動しない

原因

Yosemite は標準で JDK 1.7 が入っています。
PhpStorm(IntelliJ IDEA)は現時点で JDK 1.6 のみ対応しています。

解決: Apple提供 JDK 1.6 を入れる

解決: OracleのJava SE 8 を無理矢理使う

/Applications/PhpStorm.app/Contents/Info.plist にて、JVMのバージョンが固定されているため、
1.6* から、以下の記述(やお好きなバージョン)で指定

<key>JVMVersion</key>
<string>1.*</string>
8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8