From owner-freebsd-java Tue Jul 6 1:30:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from jiyu.net (unknown [209.100.98.61]) by hub.freebsd.org (Postfix) with ESMTP id 881A915048 for ; Tue, 6 Jul 1999 01:30:13 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (dns001.thn.ne.jp [210.141.251.14]) by jiyu.net (8.8.5/8.8.5) with ESMTP id RAA14248; Tue, 6 Jul 1999 17:24:42 +0900 To: reimers@tu-harburg.de Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK1.2-pre-v2 for Linux In-Reply-To: <3781AED1.9640CC2B@tu-harburg.de> References: <3781AED1.9640CC2B@tu-harburg.de> X-Mailer: Mew version 1.94b9 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990706173157W.daichi@ongs.net> Date: Tue, 06 Jul 1999 17:31:57 +0900 From: "Daichi T.GOTO" X-Dispatcher: imput version 990225(IM107) Lines: 40 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Sven Reimers Subject: JDK1.2-pre-v2 for Linux Date: Tue, 06 Jul 1999 08:22:57 +0100 > Hi, > > since there are no ongoing discussions about using 1.2 pre v2 in > FreeBSD Linux emulation, I suppose it can be used with out any > problems. Am I right? If not is it possible to make it run? > ` > I'm using 3.2-Release. Some people reported the success. But I couldn't use it in FreeBSD Linux emulation. If you try it, first, you must link some files under /usr/X11R6/lib to /usr/compat/linux/lib/. And do patch to $JAVA_HOME/bin/.java_wrapper, --- .java_wrapper.org Wed Jun 9 18:19:46 1999 +++ .java_wrapper Wed Jun 9 18:41:52 1999 @@ -31,8 +31,8 @@ # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/bin/expr "$ls" : '.*-> \(.*\)$'` + if /bin/expr "$link" : '\/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" And try do it with -green option. Perphaps, you can use it. # I could't use it with swing error. Some application without swing did # work very fine. uhhmm, someone know the reason ? ---- Daichi T.GOTO (ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message