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 ]