Date: Tue, 5 Jul 2005 14:30:22 GMT From: "Thomas M. Hermann" <__tmh@yahoo.com> To: freebsd-java@FreeBSD.org Subject: Re: java/81176: Java Webstart does not work Message-ID: <200507051430.j65EUMJH075745@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/81176; it has been noted by GNATS. From: "Thomas M. Hermann" <__tmh@yahoo.com> To: bug-followup@FreeBSD.org, rondebruijn@yahoo.com Cc: Subject: Re: java/81176: Java Webstart does not work Date: Tue, 05 Jul 2005 09:29:33 -0500 The script that executes javaws requires a simple patch to execute correctly: --- /usr/local/jdk1.4.2/jre/javaws/javaws.orig Sat Feb 5 12:15:25 2005 +++ /usr/local/jdk1.4.2/jre/javaws/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" Apply this patch to the native javaws script(see path) and it will work. Please email me with any questions. Best regards, Tom H.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507051430.j65EUMJH075745>