These are the facts:
JAVA_HOME should be set to the base directory of your jdk installation, in your
case, that would be /usr/jre118.
You want to add the bin directory to your PATH, so something like:
export PATH=/usr/jre118/bin:$PATH
Then, you need to set up your classpath. Do that with:
export CLASSPATH=$JAVA_HOME/lib/classes.zip:$CLASSPATH
^^^^
which I'm sure the poster meant, but just misstyped. Now, that WILL set up the
JRE correctly.
If you are still getting errors, there might be a few other problems besides
the JRE setup.
Are you sure you don't need the JDK instead of the JRE????
IBM could have a bug in their rpm (this is not beyond the realm of possibility)
My money is on the fact that WebSphere is looking for the full JDK and not just
the JRE. For instance, if I visit IBM's WebSphere Application Server download
page, the first thing it says is that it needs:
"the right IBM JDK install".
You need the full JDK and not just the JRE.
> Hi,
> I set my JAVA_HOME = /usr/jre118/, and using rpm -ivh --nodeps, still
> got the same error.
>
>
> Louis
> ----- Original Message -----
> 寄件者: Riyad Kalla
> 收件者: John Louis
> 傳送日期: 2000年4月6日
> 主旨: Re: JAVA_HOME
>
>
> I'm pretty sure JAVA_HOME should be the base of that dir... /usr/jre118,
> and that the /bin part should be in your PATH...
>
> I could be wrong, but what I remember from setting up java 1.1.x this was
> the case... so you could do things like:
>
> JAVA_HOME=/usr/jre118
> PATH=$JAVA_HOME/bin:$PATH
> CLASSPATH=$JAVA_HOME/classes.zip:$CLASSPATH
>
> or something along those lines...
>
> -Riyad
> ----- Original Message -----
> From: John Louis
> To: Blackdown Team
> Sent: Wednesday, April 05, 2000 3:04 PM
> Subject: JAVA_HOME
>
>
> Hi,
> I installed IBMJava118-JRE-1.1.18 on my redhat system, and set all
> the path & classpath. The JAVA_HOME I set to /usr/jre118/bin, and
I'm try to install IBMWebAS-core-2.03-1.i386.rpm using rpm -ivh. It give me
the error:
>
> Cannot find where java is installed on this system. Please make sure
> the JDK or JRE is installed and set JAVA_HOME before installing this
package.
>
> I run the jre, it is working. Can anyone tell me the JAVA_HOME is set
> correctly?
>
>
>
> Louis
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]