Date: Tue, 25 Jan 2005 22:33:59 GMT From: Matthias Buelow <mkb@incubus.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/76681: azureus script wants java in /usr/local/bin Message-ID: <200501252233.j0PMXxJo052365@www.freebsd.org> Resent-Message-ID: <200501252240.j0PMePW5023573@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76681
>Category: misc
>Synopsis: azureus script wants java in /usr/local/bin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 25 22:40:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Matthias Buelow
>Release: 5.3-STABLE
>Organization:
>Environment:
FreeBSD xxx 5.3-STABLE FreeBSD 5.3-STABLE #6: Fri Jan 21 10:47:22 CET 2005 xxx:/usr/obj/usr/src/sys/xxx i386
>Description:
After installing ports/net/azureus, typing "azureus" results in the following:
exec: /usr/local/bin/java: not found
the problem is in the "azureus" script:
exec "/usr/local/bin/java" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}"
where it should say exec "/usr/local/jdk1.4.2/bin/java", because that's where the jdk14 port installs java.
alternatively, make the jdk/jre ports create links to /usr/local/bin.
perhaps best would be not to hardcode the full pathname into the script. that's what Unix' got the PATH environment variable for, after all.
>How-To-Repeat:
>Fix:
change the line in /usr/local/bin/azureus accordingly.
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501252233.j0PMXxJo052365>
