tmh
February 6th, 2005, 04:02
The launch script for the Java Web Start utility in JDK 1.4.2 does not execute correctly on FreeBSD. I've identified this for patchset 6 and patchset 7. It is a simple fix to get it to work, just apply the following patch:


--- javaws.orig Sat Feb 5 12:15:25 2005
+++ javaws Sat Feb 5 12:26:37 2005
@@ -13,8 +13,8 @@

while [ -L "$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"


Java Web Start is a nice utility to have.

Cheers,

Tom H.