Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beta JDK 1.1.2 port for FreeBSD



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@xxxxxxxxxxxxxx>
----------------------------------------------------------------------
                                          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`