• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in eclipse

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I dont know where to ask this question.Thats why i am asking here.
I have downloaded eclipse-SDK-3.3.1.1-linux-gtk.tar.gz and installed in /usr/local in my redhat linux system.Inside the eclipse folder when i click the eclipse,I am unable to open eclipse.it is showing the following error:


JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /usr/local/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.2.R331_v20071019/eclipse_1021.so
-startup /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata 9000b
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar


I am using jdk-6u4-linux-i586.bin version java and i have installed apache-tomcat-5.5.26.tar.gz.
please anyone help me .
[ March 03, 2008: Message edited by: preethi Ayyappan ]
 
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by preethi Ayyappan:
Hi,
I dont know where to ask this question.Thats why i am asking here.
I have downloaded eclipse-SDK-3.3.1.1-linux-gtk.tar.gz and installed in /usr/local in my redhat linux system.Inside the eclipse folder when i click the eclipse,I am unable to open eclipse.it is showing the following error:

I am using jdk-6u4-linux-i586.bin version java and i have installed apache-tomcat-5.5.26.tar.gz.
please anyone help me .

[ March 03, 2008: Message edited by: preethi Ayyappan ]



This will happen when you have different JRE in your system.Check your PATH variable and check whether it is pointing to the Java which you have installed in your Linux Machine.

Most of the times this happens when you install Oracle like products which installs some other JRE and update the PATH environment variable without asking you.
[ March 04, 2008: Message edited by: Balasubramanian Chandrasekaran ]
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for your reply.As you've mentioned,I checked for java version in my linux machine.It shows java version "1.4.2"
which is already in that machine.Now i am having jdk1.6.0_04 in usr/java.I have set the path as /usr/java/jdk1.6.0_04 in etc/profile .But now when i run the eclipse it shows the following error:


A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/usr/local/eclipse/jre/bin/java
java in your current PATH



what should i do now?please help me
 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by preethi Ayyappan:
Hi,
Thanks for your reply.As you've mentioned,I checked for java version in my linux machine.It shows java version "1.4.2"
which is already in that machine.Now i am having jdk1.6.0_04 in usr/java.I have set the path as /usr/java/jdk1.6.0_04 in etc/profile .But now when i run the eclipse it shows the following error:


what should i do now?please help me



You need to set the path to /usr/java/jdk1.6.0_04/bin instead of /usr/java/jdk1.6.0_04.
Your java and javac files can be found under /usr/java/jdk1.6.0_04/bin only.

You can do one more thing also,modify logon scripts or the script used to launch Eclipse so that Java is in the path. The following example assumes the BASH shell:

export PATH=/usr/java/jdk1.6.0_04/bin:$PATH as in your case.
[ March 06, 2008: Message edited by: Balasubramanian Chandrasekaran ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic