Archive

Archive for December, 2014

Running Eclipse On Yosemite

December 10, 2014 Leave a comment

I quite excited when new OSX version codename Yosemite come out this fall.

But, I found problem with my eclipse application after upgrading to yosemite, eclipse won’t start and throw a message :

“you need Java 6 Legacy to run eclipse “.

It is quite annoying, because java is already installed (Java 1.7). My question is, why i should roll back to older version ?

Finally i found the answer for this problem.

Java 1.7 for OSX, by default just support CommandLine only.

So, I changed the configuration in order to make This java version can execute application such as eclipse.

The steps Are :

  1. Enter Java Installation Folder, mine in “/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents”
  2. Open file Info.plist
  3. find this section <key>JVMCapabilities</key>
                    <array>
                           <string>CommandLine</string>
                    </array>
  4. Change to this :<key>JVMCapabilities</key>
                    <array>
                      <string>JNI</string>
                     <string>BundledApp</string>
                     <string>WebStart</string>
                     <string>Applets</string>
                     <string>CommandLine</string>
                   </array>
  5. Then Log out or restart your mac.
  6. Voila, Now My eclipse Running smoothly 😀

 

Jakarta, December 10th 2014

 

 

Aah Ahmad Kusumah

Advertisements
Categories: Java, Tutorial