Results 1 to 8 of 8
i installed debian 5.0 and tried starting eclipse. i generated an error while starting for the for 1st time.done it 5 times and then reinstalled it. the error is ;
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-25-2009 #1
debian eclipse problem
i installed debian 5.0 and tried starting eclipse. i generated an error while starting for the for 1st time.done it 5 times and then reinstalled it. the error is ;
jvmterminated exit code 127There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-01-2009 #2Just Joined!
- Join Date
- Jun 2009
- Location
- everywhere, in the net
- Posts
- 4
have you installed sun java sdk???
- 06-02-2009 #3
yeah i installed the original sdk from sun webiste
There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-02-2009 #4
what is output of these commands?
if neither of these points to your jdk installation, it could be your problemCode:which java echo $JAVA_HOME
- 06-02-2009 #5Just Joined!
- Join Date
- Jun 2009
- Location
- everywhere, in the net
- Posts
- 4
you may have to set the environment variables in your $HOME/.bashrc
add the path of Java installation.
try it
(replace with your sdk installation path)
export PATH="/opt/SDK/jdk/bin:$PATH"
export JAVA_HOME="/opt/SDK/jdk"
then, save changes and close your session, logon and try:
echo $JAVA_HOME
the output must be "/opt/SDK/jdk"
- 06-04-2009 #6
this is the exact error genereated:
JVM terminated. Exit code=127
/usr/lib/jvm/java-6-openjdk/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=nev er
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 208018
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-6-openjdk/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=nev er
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jarThere is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-04-2009 #7
the command
which java
results in
/usr/bin/java
the commad echo $JAVA_HOME doesn't return anytthing.There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 06-04-2009 #8
based on your errors, eclipse is trying to start using openjdk and not the sun jdk, you need to put sun jdk on your path before the openjdk, also I recommend setting the JAVA_HOME environment variable to point to sunjdk as well


Reply With Quote
