[4878] in java-interest

home help back first fref pref prev next nref lref last post

Re: CLASSPATH

daemon@ATHENA.MIT.EDU (Mark J. Turick)
Wed Jan 17 11:24:27 1996

Date: Wed, 17 Jan 1996 09:38:23 -0500
From: "Mark J. Turick" <mturick@mrburns.npt.nuwc.navy.mil>
To: java-interest@java.sun.com

Ralph Krause wrote:
> 
> Sorry, but it makes me crazy.

Me too for a while...

> 
> My System: Solaris 2.3, JDK beta 2.

Mine, Solaris 2.4, JDK beta 2.

> 
> There are some problems handling the CLASSPATH environment variable.
> Who has a solution to combine the settings for
>   Netscape (moz2_0.zip)
>   JDK      (classes.zip)
>   user     (extra dir for user classes)

It seems like netscapes path must be first.
if you have JAVAHOME defined, you don't need the path to the JDK's classes.zip, which is
in the $JAVAHOME/lib directory.

you HAVE to have explicit paths. "~myhome/java" does not work.

Here is my setup, which works for Netscape, appletviewer etc...

(my /opt/JDK/classes dir is a link to /opt/JDK/src)

JAVAHOME=/opt/JDK
CLASSPATH=/usr/local/netscape/java/classes/moz2_0.zip:/opt/JDK/classes:/usr/local:/home/mturick/java:./:


I hope this works for you.

-- 
MJT
[=====================================================================]
| Mark J. Turick                    mturick@mrburns.npt.nuwc.navy.mil |
[=====================================================================]
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post