ports/142931: java/openjdk6 does not include /usr/local/lib in java.library.path
Andrew
andrew at flarn.com
Mon Jan 18 11:00:18 UTC 2010
>Number: 142931
>Category: ports
>Synopsis: java/openjdk6 does not include /usr/local/lib in java.library.path
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 18 11:00:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Andrew
>Release: 8.0-STABLE
>Organization:
>Environment:
FreeBSD XXXXXX 8.0-STABLE FreeBSD 8.0-STABLE #5: Wed Jan 6 11:21:44 UTC 2010 root at XXXXXX:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When attempting to use eclipse with the subclipse plugin and javahl library I encountered an error "Unable to load default SVN client". This error did not occur using the diablo jdk.
Comparing the installation details, configuration tab I noticed the diablo jdk (java/diablo-jdk16) includes /usr/local/lib in java.library.path, but openjdk6 (ports/openjdk6) does not. This is obviously where the subversion java (java/subversion-java) port installs the javahl libraries.
Adding -Djava.library.path=/usr/local/lib to the vmargs for starting eclipse fixed this issue.
>How-To-Repeat:
>Fix:
I'm afraid I don't have a patch, but it seems ${LOCALBASE}/lib should be in java.library.path by default?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list