From owner-freebsd-java Thu Nov 29 11:45:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 1B87337B419 for ; Thu, 29 Nov 2001 11:45:35 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA16247; Thu, 29 Nov 2001 12:45:33 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id fATJjXs09071; Thu, 29 Nov 2001 12:45:33 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15366.36956.873823.104585@caddis.yogotech.com> Date: Thu, 29 Nov 2001 12:45:32 -0700 To: Dave Glowacki Cc: nate@yogotech.com (Nate Williams), java@FreeBSD.ORG Subject: Re: java/jdk port broken? In-Reply-To: <200111291943.fATJhok17808@hyde.ssec.wisc.edu> References: <15366.36407.436463.261786@caddis.yogotech.com> <200111291943.fATJhok17808@hyde.ssec.wisc.edu> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > > > > 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