Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 12:45:32 -0700
From:      Nate Williams <nate@yogotech.com>
To:        Dave Glowacki <dglo@hyde.ssec.wisc.edu>
Cc:        nate@yogotech.com (Nate Williams), java@FreeBSD.ORG
Subject:   Re: java/jdk port broken? 
Message-ID:  <15366.36956.873823.104585@caddis.yogotech.com>
In-Reply-To: <200111291943.fATJhok17808@hyde.ssec.wisc.edu>
References:  <15366.36407.436463.261786@caddis.yogotech.com> <200111291943.fATJhok17808@hyde.ssec.wisc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > > I've been having problems with the java/jdk port,
> > > > > and a complete re-install didn't seem to help.
> > > > > Can anyone tell me what I'm doing wrong?
> > > > 
> > > > I'm betting you have a non-standard LD_LIBRARY_PATH or LD_PRELOAD set in
> > > > your environment.
> > > > 
> > > > The output of 'printenv | grep LD' would be telling.
> > > 
> > > Nope:
> > > 
> > >   # printenv | grep LD
> > >   OLDPWD=/usr/ports/java/jre
> > 
> > How about 'printenv | grep JAVA' or 'printenv | grep JDK'?
> 
> Ah, that helps.
> 
>   # printenv | egrep JAVA\|JDK
>   JAVA_HOME=/usr/local/jdk1.2.2
>   JAVA=/usr/local/jdk1.2.2
>   # unsetenv JAVA_HOME
>   # /usr/local/jdk1.1.8/bin/java
>   Usage: java [-options] class
>   [...etc...]
> 
> Still doesn't help me with my main goal of building JDBC1 drivers
> for the mysql-jdbc-mm port, because 'ant' dies if JAVA_HOME isn't
> set, but that's not your problem.

Set JAVA_HOME to /usr/local/jdk1.1.8 if you want to use the JDK1.1 port.



Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15366.36956.873823.104585>