-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.3.1_01
-
sparc
-
solaris_8
JDK 1.3.1_01 on Solaris 2.8 Platform.
This applies not only to the ladybird-rc2 but to 1.3.1_01 as well.
It does not appear to be a problem with Merlin.
If java is installed into a directory with a space in the name,
for example /tmp/some java/jdk1.3.1, the .java_wrapper script fails
with the error message:
usage: dirname [ path ]
Error: can't find libjava.so.
or
ksh: /tmp/some: not found
The following patch to the 1.3.1_01 wrapper solves the problems I
noticed.
*** .java_wrapper.orig Tue Jan 8 17:34:32 2002
--- .java_wrapper Tue Jan 8 17:33:35 2002
***************
*** 14,21 ****
# THIS SCRIPT AND JAVA WILL NOT RUN UNDER SUNOS4.X, AKA SOLARIS 1.X.
#===================================================================
! PRG=`whence $0` >/dev/null 2>&1
! progname=`/usr/bin/basename $0`
proc=`/usr/bin/uname -p`
# Resolve symlinks. See 4152645.
--- 14,21 ----
# THIS SCRIPT AND JAVA WILL NOT RUN UNDER SUNOS4.X, AKA SOLARIS 1.X.
#===================================================================
! PRG=`whence "$0"` >/dev/null 2>&1
! progname=`/usr/bin/basename "$0"`
proc=`/usr/bin/uname -p`
# Resolve symlinks. See 4152645.
***************
*** 25,31 ****
if /usr/bin/expr "$link" : '^/' > /dev/null; then
prg="$link"
else
! prg="`/usr/bin/dirname $PRG`/$link"
fi
PRG=`whence "$prg"` > /dev/null 2>&1
done
--- 25,31 ----
if /usr/bin/expr "$link" : '^/' > /dev/null; then
prg="$link"
else
! prg="`/usr/bin/dirname "$PRG"`/$link"
fi
PRG=`whence "$prg"` > /dev/null 2>&1
done
This applies not only to the ladybird-rc2 but to 1.3.1_01 as well.
It does not appear to be a problem with Merlin.
If java is installed into a directory with a space in the name,
for example /tmp/some java/jdk1.3.1, the .java_wrapper script fails
with the error message:
usage: dirname [ path ]
Error: can't find libjava.so.
or
ksh: /tmp/some: not found
The following patch to the 1.3.1_01 wrapper solves the problems I
noticed.
*** .java_wrapper.orig Tue Jan 8 17:34:32 2002
--- .java_wrapper Tue Jan 8 17:33:35 2002
***************
*** 14,21 ****
# THIS SCRIPT AND JAVA WILL NOT RUN UNDER SUNOS4.X, AKA SOLARIS 1.X.
#===================================================================
! PRG=`whence $0` >/dev/null 2>&1
! progname=`/usr/bin/basename $0`
proc=`/usr/bin/uname -p`
# Resolve symlinks. See 4152645.
--- 14,21 ----
# THIS SCRIPT AND JAVA WILL NOT RUN UNDER SUNOS4.X, AKA SOLARIS 1.X.
#===================================================================
! PRG=`whence "$0"` >/dev/null 2>&1
! progname=`/usr/bin/basename "$0"`
proc=`/usr/bin/uname -p`
# Resolve symlinks. See 4152645.
***************
*** 25,31 ****
if /usr/bin/expr "$link" : '^/' > /dev/null; then
prg="$link"
else
! prg="`/usr/bin/dirname $PRG`/$link"
fi
PRG=`whence "$prg"` > /dev/null 2>&1
done
--- 25,31 ----
if /usr/bin/expr "$link" : '^/' > /dev/null; then
prg="$link"
else
! prg="`/usr/bin/dirname "$PRG"`/$link"
fi
PRG=`whence "$prg"` > /dev/null 2>&1
done