Subject: FreeBSD JDK 1.1.5
To: None <port-i386@NetBSD.ORG>
From: Scott Telford <st@epcc.ed.ac.uk>
List: port-i386
Date: 01/14/1998 11:55:50
I tried out the recent FreeBSD port of JDK 1.1.5 (at ftp.freebsd.org in
/pub/FreeBSD/incoming/jdk115 or ftp16.ba.best.com in /pub/bofh/, may be
in a more official place by now) last night and it seems to work quite
well on NetBSD/i386 1.2. It comes with a LessTif libXm.so, so the AWT
fonts and widgets may be a little screwy.
Of course, you need some FreeBSD shared libs and ld.so - I can put the
necessary stuff up for FTP if anyone's interested.
The .java_wrapper script seems to be the stock Sun one - the following
hack is needed to get it running on {Free,Net}BSD:
--- bin/.java_wrapper_dist Mon Dec 29 06:38:45 1997
+++ bin/.java_wrapper Tue Jan 13 22:40:14 1998
@@ -1,4 +1,4 @@
-#! /bin/ksh
+#! /bin/sh
#
# @(#)java_wrapper.sh 1.31 97/09/02
#
@@ -8,7 +8,7 @@
# Set up default variable values if not supplied by the user.
-PRG=`whence $0` >/dev/null 2>&1
+PRG=`which $0` >/dev/null 2>&1
J_HOME=`dirname $PRG`/..
progname=`basename $0`
@@ -27,7 +27,7 @@
DEFAULT_THREADS_FLAG=green
-if [[ ${THREADS_FLAG:-${DEFAULT_THREADS_FLAG}} = native ]] ; then
+if [ ${THREADS_FLAG:-${DEFAULT_THREADS_FLAG}} = native ] ; then
THREADS_TYPE=native_threads
else
THREADS_TYPE=green_threads
--
Scott Telford "Eventually we will realise that
Edinburgh Parallel Computing Centre computers are dangerously
University of Edinburgh, EH9 3JZ, UK. unreliable and should be banned."
s.telford@ed.ac.uk +44 131 650 5978 - Auberon Waugh