Trying to install Eclipse (latest version) onto MacOS High Sierra. After extracting the file "eclipse-java-luna-R-macosx-cocoa.tar.gz", I copy the resulting Eclipse folder into my Applications folder.
I then attempt to run the Eclipse application and get an error saying:
Eclipse quit unexpectedly
I have tried both the 32 and 64 bit versions of Eclipse. My Macbook Pro is a late 2015 15" edition.
I was facing the same issue on MacBook Air.
I resolved it by downloading the eclipse-installer : http://ftp.jaist.ac.jp/pub/eclipse/oomph/epp/photon/R/eclipse-inst-mac64.tar.gz
After extracting the file a .app file is created. Click on that file(it will open a app).
The app is basically a Eclipse installer.
Choose the Eclipse IDE you want to install and follow the mentioned steps.
Related
I'm trying to install Eclipse Neon on a 64 bit Windows 7 computer. I download the file "eclipse-inst-win64.exe" and run as administrator. Immediately I get the following error:
The Eclipse Installer executable launcher was unable to locate its companion shared library.
Note the "Installer" keyword. When searching on Google and StackOverflow, I find solutions only for when receiving this error launching Eclipse itself after it is installed. The solutions that worked for people in those situations usually involve editing the "eclipse.ini" file and removing absolute paths or references to uninstalled plugins. However, Eclipse has never been installed on this computer, therefore an "eclipse.ini" file does not exist and the installer does not appear to create one in any obvious place before throwing this error. There does not appear to be any "companion shared library" downloads on the Eclipse website. Any ideas on what could be going on?
Download and install the JDK and then try to install Eclipse again.
According to http://wiki.eclipse.org/Eclipse/Installation:
Eclipse 4.6 (Neon) was released on June 22, 2016. See Neon schedule.
Consider using the Installer. Please see 5 Steps to Install Eclipse.
A Java 8 JRE/JDK is required to run all Neon packages based on
Eclipse 4.6, including the Installer. The reasoning behind
requiring Java 8 are discussed here.
I found another reason for this error message. I got it when I tried to install Eclipse from the compressed installer. I extracted the installer into a folder and ran it from there. It then installed.
Try to extracted all the installer files before you run the installer.
Eclipse mars, I installed it on my Mac OS X 10.11.3 it launched after finishing the installation but when I quit the app and trying to open again it cannot be opened with a dialog box message "Eclipse quit unexpectedly"
There is an alias file in the folder that is extracted. It's called eclipse with no extension. Don't click the eclipse.app icon. This worked for me because it brings up the terminal window. It says it's a unix file, just click ok and Eclipse runs perfectly. Copy that alias to the desktop not the app. I don't know why this work, but it does. FYI IntelliJ didn't have this issues.
This is for eclipse luna on a MacBook air i5 with Sierra.
I have been using Spring STS 3.7.2 for a few months on my Mac laptop (Mac OS X Yosemite 10.10.5). But suddenly the STS IDE is not starting up. I suspect that one of the automatic OS update may have changed something, since I noticed that I don't see java any more on my path setting.
I manually added the following entries to my .bash_profile and updated using source command:
export PATH=$PATH:/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/bin
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
But STS stubbornly not working. It keeps giving me the error message in a dialog box:
A java runtime environment (JRE) or Java development kit (JDK) must
be available in order to run STS. No Java virtual machine was found
after searching ....
I am confused. I am able to invoke java from any terminal window, as well as JAVA_HOME environment variable is set.
Any ideas what may be going on?
After quite a bit of searching online, I figured out the problem, and resolved it for myself. It basically boils down to JDK upgrade to versions beyond 1.6.
The following link provided a solution:
https://apple.stackexchange.com/questions/178647/jdk-platform-not-recognized-running-eclipse-or-mvn
Here are the steps:
Revert back to JDK 1.6: Download and install JDK 1.6 from this Apple site: https://support.apple.com/kb/DL1572?locale=en_US
Change the PATH variable to point to the 'bin' directory of where JDK is installed. On my Mac, it was installed at: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin
Go to the STS application installed directory and run the command "open -a STS.app". This will open the STS IDE successfully.
Exit STS.
Now, if you want to use Java 8, then change the PATH variable to the Java 8 directory. On my Mac, it was at: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin
Launch the STS app again, and voila!, the problem solved.
I am not able to install the Google plugin for Eclipse Luna 4.4.1 on Mac. I followed all the steps, and got no errors.
Eclipse restarted after installing the plugin, but after that I don't see the Google logo on my toolbar and even in File > New, I don't see any signs of installation.
Android plugins from the same link seems to be working but rest no sign.
Java on my Mac is up to date.
after 6 long hours, it worked out for me. This is what I did
I removed eclipse from my computer. delete those file from library folder. Delete workstation. https://stackoverflow.com/a/1998797/3861959
Updated Java, Downloaded and installed latest version of JDK (its different from java, one thing I didn't know).
Installed Eclipse, installed plugin
I installed the Google Plugin for Eclipse and created a new Google App Engine project just as decribed in https://developers.google.com/appengine/docs/java/tools/eclipse. When building the project I'm getting the error
Error: Could not find or load main class com.google.appengine.tools.enhancer.Enhance
I have searched similar questions on stackoverflow and the only suggestions were to use JDK 7 and uninstall any existing JDK 6 even if not pointed in Eclipse Installed Jres. I have done both, and I'm still I'm facing the same error. This is on Windows 7 x64 machine and the Eclipse and JDK are 32 bit ones. I also tried on another computer which is a Windows server 2008 x64 machine and again the Eclipse and JDK 32 bit. I face the same error there also.
Please help before I shoot myself.
If you are not using JDO/JPA, uncheck the box for this option in the App Engine tab for your project.
If you do use them, make sure that the relevant files are present in the WEB-INF/lib/ folder: https://developers.google.com/appengine/docs/java/datastore/jdo/overview?csw=1