Date: Fri, 12 Dec 1997 17:55:32 +1300 (NZDT) From: Jonathan Chen <jonc@pinnacle.co.nz> To: boia01@gel.usherb.ca Cc: freebsd-java@FreeBSD.ORG Subject: Re: Beta JDK 1.1.2 port for FreeBSD Message-ID: <Pine.SGI.3.96.971212175121.7392A-100000@tui.pinnacle.co.nz> In-Reply-To: <Pine.BSF.3.95q.971209225433.325O-100000@teel.info-noire.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
It may be an idea to apply the following patch to .java_wrapper so
that installing jdk1.1.2 will run `out-of-box', instead of requiring
installation of additional packages. Nothing major, just a change of
shell so that /bin/sh is used instead of /usr/local/bin/ksh.
Cheers.
--
Jonathan Chen <jonc@pinnacle.co.nz>
----------------------------------------------------------------------
Experience is a hard teacher
because she gives the test first, the lesson afterwards
----------------------------------------------------------------------
*** .java_wrapper.old Fri Dec 12 17:39:35 1997
--- .java_wrapper Fri Dec 12 17:39:54 1997
***************
*** 1,4 ****
! #! /usr/local/public/bin/ksh
#
# @(#)java_wrapper.sh 1.29 97/05/14
#
--- 1,4 ----
! #! /bin/sh
#
# @(#)java_wrapper.sh 1.29 97/05/14
#
***************
*** 8,14 ****
# Set up default variable values if not supplied by the user.
! PRG=`whence $0` >/dev/null 2>&1
J_HOME=`dirname $PRG`/..
progname=`basename $0`
--- 8,14 ----
# Set up default variable values if not supplied by the user.
! PRG=$0
J_HOME=`dirname $PRG`/..
progname=`basename $0`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.971212175121.7392A-100000>
