• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About
  • Projects
    • GStaticMap WP Plugin
  • Contact
  • Privacy Policy

Lorenz Blog

All About Web & Mobile Application Development

  • Featured Articles
  • Gadgets
    • Android
    • Blackberry
  • Programming
    • Android
    • PHP
    • Java Script
    • MySQL
    • Postgresql
    • Flex
    • Web
  • Software
    • Mac OS
    • Windows
    • Linux
  • Web
You are Here » Home >> Information Technology >> Programming >> Android >> Eclipse Issue on Os X Yosemite – To open “Eclipse” you need to install the legacy Java SE 6 runtime

Eclipse Issue on Os X Yosemite – To open “Eclipse” you need to install the legacy Java SE 6 runtime

April 24, 2015 by Lorensius Londa Leave a Comment

Recently i just upgraded my Macbook Pro to the new Macbook Retina Display (mid 2014) that comes default with OS X Yosemite 10.10.1. After installing Java JDK 1.8, all my Android IDE (Eclipse and Android Studio) work well so i can continue my development as usual. The problem comes when i update the OS X to Yosemite 10.10.3, my Eclipse won’t open anymore. When i start Eclipse by clicking on its icon, the warning dialog appears saying ‘To open “Eclipse” you need to install the legacy Java SE 6 runtime’.

eclipse problem on os x yosemite
eclipse problem on os x yosemite

The suggested solution is to install Java SE 6 runtime from Apple website  by clicking the More Info button. But because the internet service is expensive here and i don’t want to spend extra internet quota to download the java update,i do some googlings and found an alternative solution.

The solution is simple, just to make some changes the Info.plist file in Java library folder:

  • Locate the Info.plist in your JDK folder, mine is under
    /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/
    
  • Edit the Info.plist file using your favorite editor
    $vim /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist
    
  • Find the following lines
    <key>JVMCapabilities</key>
    <array>
      <string>CommandLine</string>
    </array>
    
  • Replace those lines with
    <key>JVMCapabilities</key>
    <array>
      <string>JNI</string>
      <string>BundledApp</string>
      <string>WebStart</string>
      <string>Applets</string>
      <string>CommandLine</string>
    </array>
    
  • Restart the OS X so the changes will take effect

Hope it helps.

Facebooktwitterredditpinterestlinkedinmailby feather

Related posts:

  1. How to Setup Android Application Development on Eclipse
  2. Sample Code to Get MD5 Checksum of a File in Android
  3. Android SDK Tools Revision 5 (r5) Fixes Issue on Fetching Repository URL using SSL (HTTPS)
  4. Update Java 7 to Fix Slow and Freezing in Mac OS X 10.7.5

Filed Under: Android, Mac OS, Programming Tagged With: eclipse, java runtime, mac os, os x, yosemite

About Lorensius Londa

Passionate web and mobile application developer. Co-founder of TRUSTUDIO, loves programming, Android, aviation, travelling, photography, coffee and gym mania.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

About Me

A husband, father of two, passionate software developer, diy lover and home baker who loves to learn new things. Read More…

  • Facebook
  • GitHub
  • Google+
  • Instagram
  • Twitter
  • YouTube

Featured Articles

How to Setup MQTT Server Using Mosquitto and Libwebsocket on Freebsd

Blue Bamboo P25 Printer Android Demo Application With Source Code

Simple JSON RPC Client for Android

How to Send Message to Google Cloud Messaging (GCM) Server Using JSON and PHP

Footer

Recent Comments

  • Aditya Dabas on About
  • Ayten Göksenin Barutçu on How to Make Android Map Scrollable Inside a ScrollView Layout
  • mang jojot on About
  • Hussain on How to Programmatically Scan or Discover Android Bluetooth Devices

Recent Posts

  • How to Fix Blank Screen on WordPress Add/Edit Post Page
  • How to Programmatically Restart the ESP32 Board
  • How to Get Hardware Info of ESP32
  • How to Setup MQTT Server Using Mosquitto and Libwebsocket on Freebsd

Latest Tweets

To protect our users from spam and other malicious activity, this account is temporarily locked. Please log in to https://twitter.com to unlock your account.

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in