Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot install Eclipse(Java was started but returned exit code=1)
Cannot install Eclipse [message #1802674] Wed, 13 February 2019 18:20 Go to next message
xiaoyu sun is currently offline xiaoyu sunFriend
Messages: 1
Registered: February 2019
Junior Member
I have a problem with installing Eclipse
I work with:
MacBook Pro 2018; macOS Mojave
Java 8 update 201
the latest Eclipse

When I first time installs Java and Eclipse, they were fine. But the next time I tried to open Eclipse, it didn't work. Then I uninstall it, but when I install it back, it shows error. The contents it gives me are below.

I've googled it, and got confused.
Can somebody help me solve this problem?
I really appreciate.

--------------------------------------------------------------
Java was started but returned exit code=1
-Xms256M
-Xmx1024M
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Djava.class.path=/Volumes/Eclipse Installer/Eclipse Installer.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar
-os macosx
-ws cocoa
-arch x86_64
-showsplash
-launcher /Volumes/Eclipse Installer/Eclipse Installer.app/Contents/MacOS/eclipse-inst
-name Eclipse Installer
--launcher.library /Volumes/Eclipse Installer/Eclipse Installer.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.900.v20180922-1751/eclipse_1801.so
-startup /Volumes/Eclipse Installer/Eclipse Installer.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar
--launcher.appendVmargs
-data @noDefault
-keyring /Users/shay/.eclipse_keyring
-vm /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/../lib/server/libjvm.dylib
-vmargs
-Xms256M
-Xmx1024M
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Djava.class.path=/Volumes/Eclipse Installer/Eclipse Installer.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar
Re: Cannot install Eclipse [message #1802739 is a reply to message #1802674] Thu, 14 February 2019 22:36 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3404
Registered: July 2009
Senior Member

In "-vm /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/../lib/server/libjvm.dylib", which looks like the contents of an eclipse.ini, there should be a new line separating it instead of a space. It also looks like it's trying to use JDK11 instead of the Java 8 version you mentioned. How was this installed?

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Thu, 14 February 2019 22:36]

Report message to a moderator

Previous Topic:How to install multiple eclipse product
Next Topic:Strange missing CDT console output
Goto Forum:
  


Current Time: Sun May 19 14:35:32 GMT 2019

Powered by FUDForum. Page generated in 0.02943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top