Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 1999 17:31:57 +0900
From:      "Daichi T.GOTO" <daichi@ongs.net>
To:        reimers@tu-harburg.de
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: JDK1.2-pre-v2 for Linux
Message-ID:  <19990706173157W.daichi@ongs.net>
In-Reply-To: <3781AED1.9640CC2B@tu-harburg.de>
References:  <3781AED1.9640CC2B@tu-harburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Sven Reimers <reimers@tu-harburg.de>
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




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