I have brand new 2016 MacBook running the latest MacOS Sierra and I'm trying to install Eclipse Luna for building one of our Legacy Applications.
On my personal 2013 Macbook running OS X Yosemite 10.10.5 I was able to simply download the eclipse tar and unpackaged it, open the eclipse folder, click the Eclipse.app and it launched perfectly.
However, on my work laptop, I have downloaded the exact same eclipse tar and unpacked it, but when I launch Eclipse.app I immediately get an error saying "Eclipse has quit unexpectedly"
If I open the package contents of Eclipse.app and go to Eclipse.app/Contents/MacOS/ and run the eclipse.exe located there, then it will open a terminal window and launch Eclipse normally.
I have never encountered this before and cannot find any good references to this issue online.
Is anyone aware of what the cause might be?
I have JDK 6 and 8 installed at /Library/Java/JavaVirtualMachines/ 1.6.0.jkd & jdk1.8.0_121.jdk
Found the solution on Eclipse forums.
Sometimes with eclipse you have to un-package the tar files directly into your Applications folder in order for it install properly. Simply dragging/copying the eclipse folder into your Applications directly will not work from time to time.
After running:
tar -xf *.tar --directory /Applications
Eclipse installed and would launch properly.
Related
I installed Eclipse IDE on my raspberry pi 3 with the command apt-get install eclipse. But when I run the program, a window spawns and said that an error has occured : The error
An error has occurred. See the log file
/home/pi/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1598129501217.log
This file doesn't exist...
I also tried to install Eclipse with the installer that we can find on eclipse.org but I cannot run the installer... eclipse installer image
Please, send help.
The installer has not been compiled for ARM. It is only for Linux on x86-64 hardware and will not run on a Raspberry Pi.
Debian/Raspbian currently ship Eclipse 3.8, which was released back in 2012, and it is not compatible with JDKs from 2020. For now, you'll want to go to https://download.eclipse.org/eclipse/downloads/ and directly download a 4.17 (or newer) build for Linux aarch64, such as the one under the "Eclipse SDK" part of the build's page, and unpack and use that.
I have downloaded the eclipse ZIP folder in my system(windows 10 64 bit) , copy paste it in C:/ drive and clicked the eclipse icon. It shows an error " An error has occured, please refer to the log file" . I had tried deleting .metadata folder , running command "eclipse -clean" in CMD.
In my system java 11.0.8 has installed. I checked java version it is 64bit and compiled and executed a small program through CMD , it was working fine. I have tried every method but didn't get the solution. The log file link of WriteXo is below. Please help.
https://writexo.com/bywc7f9
The log says you have Eclipse Neon.3 (4.6.3) (eclipse.buildId=4.6.3.M20170301-0400), not Eclipse 2019-09 (4.13), which is too old to work with Java 11 (java.version=11.0.8). The current Eclipse version is 2020-06 (4.16) and works with Java 8 and higher (including Java 11).
Don't try to run a 6 year old eclipse on a 6 month old JVM.
This is effectively a bug in JDK14 (but an intentional one, and introduced in JDK version 10). Eclipse has worked around this bug since mid 2016, so the solution would appear to be: Download the eclipse offered on eclipse.org right now, and this problem will go away. Alternatively, download a JDK8, for example from adoptopenjdk.net and run it on that.
I just installed Mac OSX Mavericks (10.9.2). Installed JDK 1.7.0_55. Everything seems to be installed properly.
I downloaded Eclipse Kepler 4.3.2 and unzipped to my Applications folder. Again I've double checked the installation.
When I start the Application, I get the following error message:
Eclipse quit unexpectedly.
I checked my Console Output and I get the following in the Eclipse Error Report:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000003c
What I've done so far:
-Tried changing JVMCapabilities like in this post Eclipse Kepler for OS X Mavericks request Java SE 6 .
-Tried with JDK 1.8
-Allow apps downloaded from Anywhere
I am new to Mac hence it might be a simple Code 18 but I would greatly appreciate any Input
to help me resolve this.
Etienne Pilon
I emptied the thrash and then launch from the terminal and it works. I believe I copied the folder to my Application folder from the Downloads and then moved it to thrash instead of simply dragging the folder.
Simple Solution:
When you finished the unzip of Eclipse, then go to Application folder and double click on eclipse-inst-mac64.dmg and the process of eclipse will begin. After installation simply open the eclipse and it will work.
When I try launching Eclipse in Mavericks it does nothing. Neither activity monitor nor console reflect my attempt to launch it in anyway. The icon doesn't bounce. No errors show up. No error sound. Just nothing.
I have a few other programs exhibiting these same symptoms, such as NetExtender.
This is on a 2012 MBP (non Retina) with the version of Mavericks that was released to everyone through the MAS on October 22nd, 2013 (build 13A603... OS X 10.9.0).
Eclipse is version 4.3
NetExtender is version 6.0.719
Googling around, some people are suggesting the issue is with Java in Mavericks. I downloaded and installed the latest JDK (7.45) but that doesn't seem to have helped in anyway.
There should be a popup asking you to install a Java SE 6 runtime.
It didn't appear for me either at first but that might have been because some other windows was covering it, so I saw it when I restarted the computer, and it appeared again when opening eclipse after the restart.
Hope this helps!
If you launch eclipse with the Terminal with:
open Eclipse.app
and you get an "LSOpenURLsWithRole() failed with error -10810 for the file..." then you have to make the eclipse executable file actually executable.
chmod +x Eclipse.app/Contents/MacOS/eclipse
That worked for me!
Upgrading from LUNA to MARS - http://download.eclipse.org/releases/mars - I ended up with the same error -10810.
The Eclipse.app file had been corrupted and and was actually missing some of the package parts.
Thankfully, I had Time Machine running and just restored the previous version of the Eclipse.app file. Eclipse opened up fine.
If you are not prompted for it, Java 6 (1.6.0_65) can be installed on your system using this link.
On a few of our systems an old and unusable but required (do not attempt to delete it!) version 1.6.0_45 remained after Mavericks upgrade.
This is specific to NIEM_UML version of Eclipse. When I double clicked on NIEM_UML.app on my Mac, it ended with a message that read "LSOpenURLsWithRole() failed for the application /Users//Desktop/NIEM/NIEM_UML.app with error -10810." I had to make set the executable property as below: chmod +x ./NIEM_UML.app/Contents/MacOS/niem_uml
I recently installed Ubuntu on my computer. (I'm new to Ubuntu as well).
I have eclipse, JRE & JDK installed and working on my Windows previously. I also have Wine installed on Ubuntu.
My question is that is there any way I can run eclipse on ubuntu without reinstalling the JRE and JDK?
I tried changing the -vm directory to the correct JRE folder (...\Java\JRE7\bin\java.exe). Eclipse launched, but then it says Java returns exit code = 1, and exit.
Thanks in advance.
Why would you ever try to run the JVM on Wine? It'll be slow, unreliable, and blow up every time JNI is used. I suggest you install the necessary packages (openjdk-7-jdk should be fine) and use those.
You might be able to do this, but I would suggest you just install the JDK directly in Ubuntu with
sudo apt-get install openjdk-7-jdk
(from memory). You will also need a Linux Eclipse.