environment variable

Chris Devers cdevers at pobox.com
Sun Apr 18 11:43:36 EDT 2004


On Sun, 18 Apr 2004, D.E. Chadbourne wrote:

> [root at mathPlayPen eric]# export PATH="$PATH:/opt/j2sdk_nb/j2sdk1.4.2/jre/bin"
> [root at mathPlayPen eric]# /usr/bin/jedit
> Warning: JAVA_HOME environment variable not set.
> [root at mathPlayPen eric]#

Have you tried reading the error, and setting $JAVA_HOME ? :-)

    $ echo $JAVA_HOME
    $

    $ export JAVA_HOME="/Library/Java/Home"
    $

    $ echo $JAVA_HOME
    /Library/Java/Home
    $

Make sense?

And why are you messing around in a root shell? Don't have sudo?



-- 
Chris Devers



More information about the Discuss mailing list