misc/76681: azureus script wants java in /usr/local/bin
Matthias Buelow
mkb at incubus.de
Tue Jan 25 14:40:32 PST 2005
>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:
More information about the freebsd-bugs
mailing list