Eclipse won't open after update from Ninite.com - java

I had Eclipse Juno installed on my Win 8 laptop. I then went to http://ninite.com/ and along with about 10 other applications, chose Eclipse and JDK. I ran the Ninite installer and after I came back my eclipse was closed. I've restarted my computer, but I cannot open my eclipse anymore. I don't know where Eclipse was located before, but searching my C drive, I see that an eclipse folder exists on the root of the C drive. I click it, and click eclipse.exe and nothing happens. Any ideas at all?
Eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Running eclipse.exe from cmd doesn't produce any output.
C:\eclipse>eclipse.exe
HIT ENTER
C:\eclipse>

Grab a copy of Eclipse from the eclipse.org site and backup/delete the eclipse folder on your hard-drive. then extract the bundle you got from Eclipse.org in its place.

Try looking at the eclipse log-files.
http://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F

Related

Eclipse IBM MobileFirst Platform v7.1 Application stack overflow error

I made the configuration to Eclipse Juno Service Release 2 and Eclipse Mars.2 Release (4.5.2) on Windows 7 Prof SP1 and Mac OS Sierra. I already have installed Java 1.7.0_79 for the project purposes (I can't update Java nor Eclipse). I need to deploy an IBM MobileFirst Platform v7.1 app.
I'm trying to clean an Eclipse project with MobileFirst Platform plugin added, but when I run the command (menubar > Project > Clean > only myProject) I have the modal:
Problem Occurred. Validating 'my project' has encountered a problem.
An internal error occurred during: validating myProject
If I click in details button, it shows the message:
An internal error occurred during: ... java.lang.StackOverflowError.
I edited the file eclipse.ini, more precisely the -Xms and -Xmx properties, from 512m to 1024m, and from 1024m to 3072m.
Here is my eclipse.ini content file:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms1024m
-Xmx3072m
What else I need to do to avoid the stackOverflowError? Thanks.

Eclipse Luna craches with JVM terminated.exit code=1

I'm using eclipse Luna on Xubuntu 14.10, it worked well.
when i launch eclipse sometimes it crached, sometimes it worked well at the first time then it crached suddenly with this error.
JVM terminated. Exit code=1
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /usr/local/eclipse-luna/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 20e801f
-product org.eclipse.epp.package.jee.product
-vm /usr/lib/jvm/java-7-openjdk-amd64/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
there is my eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
i used openjdk7, when i typed java -version,
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
My Eclipse's version is the the good one, the 64 bits
I looked at the others posts which treat the same probleme but the solutions which proposed didn't helpe me.
what can I do please. Any thoughts?
Thank you for advance.
There was a Xubuntu Bug, i found a solution from this link,
Bug 11893 - Eclipse crashes frequently with Xfce 4.12
There were two choices :
use another windows manager like openbox for exemple.
try to downgrade the xfwm4 (Xubuntu 15.04), but i coudn't then i used openbox, and eclipse work well.
i hope that can help someone.

What steps are required to install eclipse on Windows8 (exitcode 13)?

For one hour I am trying to get eclipse to run on a Windows 8 system. I also needed to install java jre, which seem to have been installed fine:
C:\Users\Alexander>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)
As far as I found in forums one has to set the path to jre manually in the eclipse.ini (in some order) which I have done:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx512m
However this gave the following error:
Did I configure something wrong? Do I need to install something else? Do I need to configure something else?

Eclipse: -Failed to load the JNI shared library-

I know that this question has been asked countless times, but I have no idea what I'm doing, and need some help. Just... help me
This is what I get when I run eclipse:
Failed to load the JNI shared library "C:\Program Files\Java\jre7\bin\client\jvm.dll".
And this is what's in my eclipse.ini:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product org.eclipse.epp.package.standard.product
--launcher.defaultAction openFile
--launcher.XXMaxPermSize 256M
-showsplash org.eclipse.platform
--launcher.XXMaxPermSize 256m
--launcher.defaultAction openFile
--launcher.appendVmargs
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
I'm guessing it has something to do with the ini or me being stupid, but I would really appreciate some help! None of the other solutions I've tried have worked for me.
Thanks in advance!
In looking at path that it is looking for the JNI shared library, and the eclipse.ini, the JNI is complaining that it's not in the java/jre7, but your ini is using javaw.exe from java/jre6. Did you validate both of these paths? another thing would be to get them both using the same thing.
Also from my other comment, are you using the same trio of OS, Eclipse, and Java. You want to make sure that all three are the same, being on 64bit you can still use 32bit Eclipse & Java though.
Working pairs of OS, JDK and Eclipse
32-bit
32-bit OS
32-bit JDK
32-bit Eclipse
OR
64-bit OS
32-bit JDK
32-bit Eclipse
64-bit
64-bit OS
64-bit JDK
64-bit Eclipse
Download the proper JDK
Make sure that you have downloaded the proper JDKs and JREs
Download the Java SE JDK 8
Editing eclipse.ini
If this is not the problem or it still fails, make sure to edit your eclipse.ini
Make sure you add:
-vm
-C:\Your\Path\To\Java\JDK\bin
after
org.eclipse.platform
For instance, my eclipse.ini is like this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
-vm
C:\Program Files\Java\jdk1.8.0_11\bin
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
Your eclipse.ini seems fine, but I just put mine up just in case. I had the exact same problem and it took me a couple of hours to figure it out.
I hope I was able to help you.
I had the same problem: in my case everything was in fact 64-bit - 64-bit OS, 64-bit Eclipse and 64-bit JRE in use, so there was some confusion as to the origins of the issue...
What helped was correcting environmental variables JAVA_HOME and PATH - and pointing them directly to
.../My/Java/Location/bin
instead of
.../My/Java/Location
So it seems like in you case the line specifying Java version in your eclipse.ini file should be:
-vm
C:\Program Files\Java\jre6\bin

Version 1.5.0_30 of the JVM is not suitable for this product. 1.6 or greater is required OSX

I recently downloaded eclipse for RCP and RAP developers. I am running OSX 10.5.8, and when I tried running eclipse i got the error "Version 1.5.0_30 of the JVM is not suitable for this product. 1.6 or greater is required". I went to utilities then java preferences and made sure that Java SE 6 was at the top of the preferred order list, it was not so I moved it up. I verified my system was pointing to the correct version
user-Macbook-Pro:~ user$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
however i still get the same error when trying to open eclipse. Any suggestions? Thank you for the help
It starts working after I modified eclipse.ini like below and added
-vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M

Categories

Resources