ports/144015: java applets not working on amd64 systems because of wrong paths
Mazhe
vmazhe at hotmail.com
Tue Feb 16 20:00:05 UTC 2010
>Number: 144015
>Category: ports
>Synopsis: java applets not working on amd64 systems because of wrong paths
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 16 20:00:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Mazhe
>Release: 8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD freedom 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
In the /usr/local/bin/opera launch script, many java path are hard-coded for i386 so that opera running on amd64 machines can't use java applets.
Also, the ${OPERA_JAVA_DIR}/server path must be added to the LD_LIBRARY_PATH variable so that the libjvm.so shared library can be loaded at start (problem encountered at last with the diablo jdk).
>How-To-Repeat:
Start Opera on a amd64 system, go to http://www.java.com/en/download/help/testvm.xml , applet should not load. Also Opera should complains of its inability to load libjvm.so.
>Fix:
1. Either replace all occurences of the word "i386" with "amd64" or "`uname -m`" in the script
2. Add the path "${OPERA_JAVA_DIR}/server" to the LD_LIBRARY_PATH variable (line 188)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list