From owner-freebsd-java Thu Nov 29 11:43:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from ssec.wisc.edu (ssec.wisc.edu [144.92.108.61]) by hub.freebsd.org (Postfix) with ESMTP id A96ED37B419 for ; Thu, 29 Nov 2001 11:43:55 -0800 (PST) Received: from hyde.ssec.wisc.edu (root@hyde.ssec.wisc.edu [128.104.109.251]) by ssec.wisc.edu (8.9.3/8.9.3) with ESMTP id NAA06678; Thu, 29 Nov 2001 13:43:55 -0600 Received: from hyde.ssec.wisc.edu (localhost [127.0.0.1]) by hyde.ssec.wisc.edu (8.10.2+Sun/8.10.2) with ESMTP id fATJhok17808; Thu, 29 Nov 2001 13:43:50 -0600 (CST) Message-Id: <200111291943.fATJhok17808@hyde.ssec.wisc.edu> To: nate@yogotech.com (Nate Williams) Cc: java@FreeBSD.ORG Subject: Re: java/jdk port broken? In-reply-to: Your message of "Thu, 29 Nov 2001 12:36:23 MST." <15366.36407.436463.261786@caddis.yogotech.com> Date: Thu, 29 Nov 2001 13:43:50 -0600 From: Dave Glowacki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Nate Williams wrote: > > > > 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. Thanks for the help, Nate! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message