11-21-05 10:53 PM
yezi wrote:
> HI:
>
> I am trying to install the eclipse 3.1 in my linux 2.4.22-1.2199.nptl,
> according to the infor of eclipse , I need to install the Java 1.4 in
> my linux.
>
> And I install Java in the folllowing directory :
>
> /usr/java/jre1.5.0_04/
>
> Then I begin to install the package of eclipse : after unzip the
> package in the
> /usr/eclipse. I get the executable file eclipse and try to running it :
>
>
> however this time the error information is :
>
> 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/eclipse/./jre/bin/java
> 'java' in your current PATH
>
>
> SO my question is how to tell the eclipse , that My Java path is
> /usr/java/jre1.5.0_04/
>
>
> THanks for any comments.
>
> bin YE
>
You need to set your PATH environment
for csh/tcsh: setenv PATH ${PATH}:/usr/java/jre1.5.0_04/bin
Try that.
[ Post a follow-up to this message ]
|