java/81176: Java Webstart does not work

Thomas M. Hermann __tmh at yahoo.com
Tue Jul 5 14:30:22 GMT 2005


The following reply was made to PR java/81176; it has been noted by GNATS.

From: "Thomas M. Hermann" <__tmh at yahoo.com>
To: bug-followup at FreeBSD.org,  rondebruijn at 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.


More information about the freebsd-java mailing list