Unix administration - How to change the information of directory?

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2005 > How to change the information of directory?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to change the information of directory?
yezi

2005-11-14, 5:57 pm

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

Mike

2005-11-21, 5: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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com