From owner-freebsd-java@FreeBSD.ORG Tue Jul 5 14:30:22 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A1816A41C for ; Tue, 5 Jul 2005 14:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF49143D46 for ; Tue, 5 Jul 2005 14:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j65EUMhG075746 for ; Tue, 5 Jul 2005 14:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j65EUMJH075745; Tue, 5 Jul 2005 14:30:22 GMT (envelope-from gnats) Date: Tue, 5 Jul 2005 14:30:22 GMT Message-Id: <200507051430.j65EUMJH075745@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Thomas M. Hermann" <__tmh@yahoo.com> Cc: Subject: Re: java/81176: Java Webstart does not work X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Thomas M. Hermann" <__tmh@yahoo.com> List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 14:30:22 -0000 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.