[1124] in java-interest

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

Re: (Fwd) Re: mutually dependent public classes

daemon@ATHENA.MIT.EDU (Jonathan Payne)
Sat Aug 19 20:03:29 1995

Date: Sat, 19 Aug 1995 11:35:16 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: pambrose@weblogic.com
Cc: jsw@cs.brown.edu, java-interest@java.Eng.Sun.COM
In-Reply-To: <199508190625.XAA13785@blob.best.net> (pambrose@weblogic.com)

I forgot to show that if your CLASSPATH is empty, then it defaults to
".".  Here's the code in the java wrapper that's used to fire up all
java programs:

    export HOTJAVA_HOME
    PRG=`whence $0` >/dev/null 2>&1
    HOTJAVA_HOME=`dirname $PRG`/..

    export CLASSPATH
    if [ -z "$CLASSPATH" ]
    then
	CLASSPATH="."
    fi

    CLASSPATH="$CLASSPATH:$HOTJAVA_HOME/classes"

So in my previous example, pretend I did

	export CLASSPATH=.

or

	setenv CLASSPATH .

depending on which shell you use.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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