Setting up Eclipse Luna on Mac OS Mavericks is not straightforward. I ran into some issues and had to search bunch of posts to solve the problems.
Here are the steps for getting Eclipse Luna working correctly on Mac OS X Mavericks.
- Install Java SDK. If you just download JRE, you will run into problems. Eclipse Luna requires java version 7 or higher.
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html - Open a terminal and test that your version of java is correct:
$ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
- Download Eclipse Luna
http://ftp.osuosl.org/pub/eclipse/technology/epp/downloads/release/luna/SR2/eclipse-java-luna-SR2-macosx-cocoa-x86_64.tar.gz - Copy Eclipse to your Application folder. If you already have an eclipse folder there, make a back up copy.
- Open Eclipse by double clicking on the Eclipse icon. If you get an error similar to the one below, go to next stepeclipse The JVM shared library "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.
- Open the following file
$ vi /Applications/eclipse/Eclipse.app/Contents/Info.plist
search forEclipse
Add the following string:-vm /Library/Java/JavaVirtualMachines/jdk1.7*.jdk/Contents/Home/bin/java
You can check jdk folder path as follows:
$ ls /Library/Java/JavaVirtualMachines/ | grep jdk
1 comment:
Very very nice article. Thanks for sharing. Please keep sharing...
GAMES
GAMES
GAMES
Post a Comment