RE: Java VM for Linux not on PATH


Subject: RE: Java VM for Linux not on PATH
From: Hassler, Jeff (Jeff.Hassler@asc.asrc.com)
Date: Mon Jul 07 2003 - 10:04:58 AKDT


I believe you need the full path down to the bin directory for the java.

Such as:
/opt/IBMJava2-131/bin:/opt/IBMJava2-131/jre/bin:/usr/local/bin:/bin:/usr
/bin:/usr/X11R6/bin:/home/oracle/bin

To determine if java can be found, run 'java -version'; this will return
the java vm version once the path is set up.

[oracle]$ java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020302 (JIT
enabled: jitc))

Also, some applications require their own environmental variables for
java. Oracle, for example, requires a JRE_DIR variable.

-----Original Message-----
From: Tim Jordan, Network Services
[mailto:Timothy_Jordan@labor.state.ak.us]=20
Sent: Monday, July 07, 2003 9:56 AM
To: aklug@aklug.org
Subject: Java VM for Linux not on PATH

=20

Trying to install an application this morning which required Java
Virtual
Machine. I went to Sun's site and downloaded the latest=20
http://www.java.com/en/download/linux_manual.jsp[1]

The java install went well but I still get this error when trying to
install
my initial application:

No Java Virtual Machine can be found from your PATH varible.

I have added /usr/java/ :/usr/java/j2re1.4.1_03/plugin/i386/:
/usr/java/j2re1.4.1_03/ to my PATH with no sucess.

Please help....Thanks,
Tim

--=20
[IMG]

--- Links ---
   1 http://www.java.com/en/download/linux_manual.jsp..

-- Binary/unsupported file stripped by Listar --
-- Type: image/gif
-- File: pb_linux.gif

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Jul 07 2003 - 10:22:02 AKDT