The essential tools for any Java developer, including a Java IDE, a CVS client, Git client, XML Editor, Mylyn, Maven integration and WindowBuilder This package includes: Eclipse Git Team Provider. Run whereis java in a Terminal. It will normally display something like /usr/bin/java. Now run java -version. It shows you 'java version 1.6.0_65' or something approaching. This is because Java 7 does not replace Java 6. Java 7 is installed as an Internet Plug-in and can be found in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java. What you need to do is to symlink /usr/bin/java to /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java. Restart Eclipse, or reboot your computer (I don't know how Eclipse manages this), and it should do the trick.:). Trying to install eclipse, I installed java version 1.6.0_65 as it requested yet still was blocked from finishing the Eclipse install with the error that I needed 1.7 JVM or higher - not true, installing higher didn't work either. I tried installing jdk-8u101-macosx-x64.dmg and that didn't work. So, I tried JDK 7 as advised, sorry no good. So, to get the Eclipse installer to run with out that java error I had to edit the Info.plist inside the Eclipse Installer. Right click the Eclipse installer and show package contents, then open info.plist in textEdit.app (Note: So after several tries editing this plist and following methods mentioned elsewhere nothing worked, I found that you have to use the symlink or java alias because java is installed differently now a days as an internet plugin.) Where you want to make an edit (You should probably Backup the original or you can download it again), under Eclipse, then, delete out what's there and add -vm and this string underneath; /usr/bin/java Here is what mine looks like. Eclipse -vm /usr/bin/java -keyring ~/.eclipse_keyring -showlocation Then save and try running your eclipse installer; this worked for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2018
Categories |