On Wed, May 28, 2008 at 9:09 AM, சுதன் | suthan <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i have installed eclipse in my sstem. it shows a error when i initiate it.
> the error message is as follows
>
> 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/lib/j2sdk1.4-sun/bin/java
>
> i have installed java in the /home/sutha/ folder in my system. and have set
> the path by adding the following lines into the .bashrc file
>
>
> PATH=/home/sutha/java/jdk1.5.0/bin:/home/sutha/java/jdk1.5.0/lib::${PATH}
>
> JAVA_HOME=/home/sutha/java/jdk1.5.0
>
> export JAVA_HOME PATH
>

I have a soft link to a JRE in the eclipse path.
Inside the ECLIPSE folder, I have a the following link

[EMAIL PROTECTED]:/opt/SDE4.0-Professional/eclipse$ ls -al | grep jre
lrwxrwxrwx   1 kumar kumar     19 2008-05-09 19:28 jre -> ../jdk1.5.0_14/jre/

Please note that the link is to the JRE folder within the JDK.


Also, IIRC .profile was read by many systems automatically. .xinitrc
might also be a good place to add your PATH stuff.

HTH.

Regards,
Natarajan
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to