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
-Djava.class.path=/Volumes/Eclipse Installer/Eclipse
-os macosx
-ws cocoa
-arch x86_64
-launcher /Volumes/Eclipse Installer/Eclipse
-name Eclipse Installer
--launcher.library /Volumes/Eclipse Installer/Eclipse
-startup /Volumes/Eclipse Installer/Eclipse
-data @noDefault
-keyring /Users/shay/.eclipse_keyring
-vm /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/../lib/server/libjvm.dylib
-Djava.class.path=/Volumes/Eclipse Installer/Eclipse
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: 3595
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: Sat Feb 22 11:43:55 GMT 2020

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

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

Back to the top