Tuesday, June 3, 2014

OSX IntelliJ or Eclipse says it needs Java 6

1) Download  Java 6 2014 from Apple:
http://support.apple.com/kb/DL1572

2) Install Oracle JDK 7
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Troubleshooting
Missing libserver.dylib?. If you follow the above instructions you should not have this problem.



Other:
Installing Oracle JDK 7 by itself is almost good but not good enough for Apple OSX. Most apps do not complain.

Enjoy:
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6

Low level shell commands replacement:
cp Info.plist Info.plist.backup
sudo emacs Info.plist

new file:
...
<       <key>JVMCapabilities</key>
<       <array>
<         <string>JNI</string>
<         <string>BundledApp</string>
<         <string>WebStart</string>
<         <string>Applets</string>
<         <string>CommandLine</string>
<       </array>

...

old file:

...
>                 <key>JVMCapabilities</key>
>                 <array>
>                         <string>CommandLine</string>
>                 </array>

...


No comments:

Post a Comment