Eclipse Juno Hangs - eclipse

I am really desperate to install eclipse on ubuntu 12.04 (32 bit). The problem is, eclipse hangs when the splashscreen shown. I run eclipse with -debug option and got following log message :
Start VM: -Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/iwan/dev-new/eclipse/eclipse
-name Eclipse
--launcher.library /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-product org.eclipse.epp.package.jee.product
-debug
-clean
-clearPersistedState
-vm /usr/lib/jvm/java-6-oracle/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/iwan/dev-new/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Install location:
file:/home/iwan/dev-new/eclipse/
Configuration file:
file:/home/iwan/dev-new/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/iwan/dev-new/eclipse/configuration/
Framework located:
file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
file:/home/iwan/dev-new/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Splash location:
/home/iwan/dev-new/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
Debug options:
file:/home/iwan/dev-new/eclipse/.options loaded
Time to load bundles: 70
Starting application: 11447
My java version is
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)
Any idea how to fix this ?

Tried all the options, nothing worked. So I finally figured out the solution:
I removed all JRE installations in my C:\Program Files and C:|Program Files(x86) folders. Installed a new JDK 7 package, copied the fullpath of the JDK7\bin folder and appended it at the end of the "Path" variable under 'Environment variables' of my Windows 7 pc. Then restarted everything, so it worked.

Related

Eclipse JVM exit code 13 under Solaris Sparc

I downloaded this eclipse archive: eclipse-SDK-4.4.1-solaris-gtk.zip
I changed the eclipse.ini to point to the JVM.
But Eclipse can't launch:
-bash-4.1$ ./eclipse
Eclipse:
JVM terminated. Exit code=13
/export/home/bob/jdk/jre/bin/java
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar /tmp/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os solaris
-ws gtk
-arch sparc
-showsplash /tmp/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /tmp/eclipse/eclipse
-name Eclipse
--launcher.library /tmp/eclipse//plugins/org.eclipse.equinox.launcher.gtk.solaris.sparc_1.1.200.v20140603-1326/eclipse_1605.so
-startup /tmp/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 3
-vm /export/home/bob/jdk/jre/bin/java
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar /tmp/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
The arch of the machine:
-bash-4.1$ uname -a
SunOS s1A 5.11 11.1 sun4v sparc SUNW,SPARC-Enterprise-T5220
Java looks happy:
-bash-4.1$ /export/home/bob/jdk/jre/bin/java -version
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
Any idea?
For future reference:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429343
https://bugs.eclipse.org/bugs/show_bug.cgi?id=442266
According to https://www.eclipse.org/projects/project-plan.php?planurl=eclipse/development/plans/eclipse_project_plan_4_4.xml#target_environments , it's a 32-bit build. You'll need a 32-bit JRE.

Eclipse Pydev autocomplete not working with error: java.lang.RuntimeException: The python client still hasn't connected back to the eclipse java vm

My eclipse with pydev has been working quite well without any problems for past 1-2 years until now. I don't know what caused it, but possibly it could be due to java upgrade I did (however, this is happening first time).
Problem: My eclipse pydev autocomplete hangs and doesn't work.
Logs:
java.lang.RuntimeException: The python client still hasn't connected back to the eclipse java vm (will retry...)
at org.python.pydev.core.log.Log.log(Log.java:54)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:334)
at org.python.pydev.editor.codecompletion.shell.ShellsContainer.getServerShell(ShellsContainer.java:232)
at org.python.pydev.editor.codecompletion.shell.ShellsContainer.getServerShell(ShellsContainer.java:165)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:222)
at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.createInnerFromServer(CompiledModule.java:330)
at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.getGlobalTokens(CompiledModule.java:531)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:715)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:541)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:510)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:502)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:493)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.internalGenerateGetCompletionsForModule(AbstractASTManager.java:723)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:541)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:510)
at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getCompletionsForModule(AbstractASTManager.java:502)
at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.findGlobalTokDef(SourceModule.java:974)
at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.findDefinitionsFromModAndTok(SourceModule.java:923)
at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.findDefinition(SourceModule.java:905)
at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.findDefinition(SourceModule.java:664)
at org.python.pydev.editor.codecompletion.revisited.modules.SourceModule.findDefinition(SourceModule.java:1)
at org.python.pydev.editor.refactoring.PyRefactoringFindDefinition.findActualDefinition(PyRefactoringFindDefinition.java:177)
at org.python.pydev.editor.refactoring.PyRefactoringFindDefinition.findActualDefinition(PyRefactoringFindDefinition.java:79)
at com.python.pydev.refactoring.refactorer.RefactorerFindDefinition.findDefinition(RefactorerFindDefinition.java:61)
at com.python.pydev.refactoring.refactorer.Refactorer.findDefinition(Refactorer.java:114)
at com.python.pydev.refactoring.wizards.rename.PyRenameEntryPoint.checkInitialConditions(PyRenameEntryPoint.java:232)
at com.python.pydev.refactoring.markoccurrences.MarkOccurrencesJob.createRequest(MarkOccurrencesJob.java:102)
at org.python.pydev.shared_ui.mark_occurrences.BaseMarkOccurrencesJob.run(BaseMarkOccurrencesJob.java:168)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Setup:
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_10
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product
Eclipse Standard Kepler Service Release 2
pydev 3.5.0.201xxx
Windows 7
eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-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
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-Djava.net.preferIPv4Stack=true
My Java setup:
> java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
Java is installed at: C:\Program Files\Java (has jdk1.7.0_55 and jre7 folders)
I have tried the following things:
Reinstalled java
Removed and readded Workspace/pydev/Python Interpreter
Disabled Firewall
I believe its because, the java isn't starting (I can't find any process named java from the taskmgr)
Please help
So, after spending lot of time debugging this issue, I was able to fix my own problem.
I took the following steps to fix my problem:
Added the following line right before -vmargs in eclipse.ini (this allowed the java.exe to start all the time)
-vm
C:\Program Files\Java\jdk1.7.0_55\bin\java.exe
Added the following line at the end of the host file C:\windows\system32\drivers\etc\hosts file (this allowed \eclipse\plugins\org.python.pydev_3.5.0.201405201709\pysrc\pycompletionserver.py to connect to the java eclipse vm. NOTE: Alternatively, you can edit \eclipse\plugins\org.python.pydev_3.5.0.201405201709\pysrc\pydev_localhost.py file and replace 'localhost' with '127.0.0.1')
127.0.0.1 localhost
NOTE: I had my firewall disabled all throughout the session.
In my case, I had accidentally edited an error into one of the core python modules (os), which broke the import of a lot of other modules, which lead to this same problem. Simply uninstalling and re-installing python fixed the problem.

Eclipse not runing on Ubuntu 14.04

On Ubuntu 14.04 with oracle JRE JDK installed when trying to run Eclipse I get the following error
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
-launcher /home/stamatisvergos/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140116-2212/eclipse_1508.so
-startup /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata 1bb8017
-product org.eclipse.epp.package.standard.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/stamatisvergos/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
pls help
Please make sure your are running a 32bit Eclipse only with a 32bit Java JRE installed. and a 64bit Eclipse only with a 64bit Java JRE installed.
Don't try to run a 32bit Eclipse version with a 64bit Java JRE. This will crash in an error like you get(also the other way around will not run).

Eclipse IDE for Java Dev on ubuntu 10.04 not working

I have downloaded Eclipse IDE for Java Developers on my ubuntu 10.04 LTS image so that i can do some modding for Minecraft, sadly when i tried to run eclipse I got this error
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/sheldon/eclipse//plugins/org.eclipse.platform_4.2.1.v201209141800/splash.bmp
-launcher /home/sheldon/eclipse/eclipse
-name Eclipse
--launcher.library /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
-startup /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 194800f
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sheldon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
I have JDK7 x86 installed as well as wine and the latest version of IcedTea (java for ubuntu).
In the past i have found that programs request to much RAM / Video RAM and so they don't run, although eclipse doesn't seem to: -Xms40m -Xmx512m (I think the max is -Xmx512M -Xms512M on my computer)
You shouldn't need wine or IcedTea. If you get the JRE from SUN and the IDE from Eclipse.org you should be able to navigate to the Eclipse directory and ./eclipse
JRE:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr1

Problem Installing Eclipse on Ubuntu

I downloaded the Eclipse IDE for Java Developers Linux 32 Bit file from here.
I extracted the file and launched eclipse from the command line.
Instead of Eclipse starting I get this message in a dialog box:
VM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/justme/Desktop/FIREFOX_DOWNLOADS/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/justme/Desktop/FIREFOX_DOWNLOADS/eclipse/eclipse
-name Eclipse
--launcher.library /home/justme/Desktop/FIREFOX_DOWNLOADS/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so
-startup /home/justme/Desktop/FIREFOX_DOWNLOADS/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 420021
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/justme/Desktop/FIREFOX_DOWNLOADS/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
Any ideas how to fix this? I'm on Ubuntu 8.10 64bit and here's my Java info:
$ java -version
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6.7) Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
First thing is to ensure you're running the java you think you're running. You can tell from your error output that it's using /usr/bin/java so run
/usr/bin/java -version
to check the version. That java is not necessarily the one on your path - you can find out which one that is with:
which java
Second thing you should probably try is the 64bit version of Eclipse. Everything else you have is 64bit.
Beyond that, I had all sorts of trouble early on with non-Sun JREs. That may not be the case now (or it may have been only specific to me) but it's something else you may want to look at.
On top of that (and probably unrelated to the problem at hand), do you really want to be running Eclipse from within your Firefox download directory. I would move it somewhere else personally.