JRE Question

hanasaki hanasaki at hanaden.com
Sun Jul 22 04:12:28 CDT 2001


I use:
    JAVA_HOME=/usr/local/jdk
and create a softlink to switch between jdk1.2 and jdk1.3, which are also
directories in /usr/local

I then have:
    /usr/local/jdk/bin
in my env path.

The following is in /etc/profile
    export JAVA_HOME=/usr/local/jdk
    export J2EE_HOME=/usr/local/j2ee  <= not needed unless you are doing
J2EE
    PATH="${PATH}:$JAVA_HOME/bin"

Please let me know how this works for you.

Jim Herrmann wrote:

> Basic question here.  How do I tell my bash shell where to find the Java
> Runtime Environment, so that when I launch a Java application, it finds
> the JRE?
>
> Thanks in advance,
> Jim
>




More information about the Kclug mailing list