NetBSD-Java archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/jdk15 and NetBSD 5



On Sat, 7 Mar 2009, Geert Hendrickx wrote:

On Fri, Mar 06, 2009 at 08:46:43PM +0000, David Brownlee wrote:
On Fri, 6 Mar 2009, David Brownlee wrote:

        I have some cleanups to wip/jdk15 that I'm just finishing
        testing. If you want to hold off just a little with PLIST
        fixes that would be ideal...

        OK, I'm clear of wip/jdk15 :)

        How is your PLIST munging going? :)


Most of the problems go away if I enable the jdk15-plugin option (the TODO
list mentions the installation without plugin is still broken).  The files

        PLIST without jdk15-plugin should be fixed

in PLIST with ${MACHINE_ARCH} are wrong because ${MACHINE_ARCH} expands to
x86_64 while the files are installed under amd64.  After manually replacing

        That should also be fixed.

that, the only four missing files are:

ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/java/jdk-1.5.0/bin/java-rmi.cgi
ERROR:         /usr/pkg/java/jdk-1.5.0/jre/lib/amd64/client/Xusage.txt
ERROR:         /usr/pkg/java/jdk-1.5.0/jre/lib/amd64/client/libjsig.so
ERROR:         /usr/pkg/java/jdk-1.5.0/jre/lib/amd64/client/libjvm.so
*** Error code 1

        That is... very odd. That the last three imply the client VM is
        not being built for amd64. Does 'java -client' work?. As for
        java-rmi.cgi, I have no idea why it would be omitted...

Now, when starting up firefox3 or seamonkey with the plugin and trying to
use it, it prints on the console:

Cannot open "/home/lib/amd64/libjavaplugin_nscp.so"

After symlinking /usr/pkg/java/jdk-1.5.0/jre/lib to /home/lib and bumping
the datasize limit, the java plugin starts, but only displays a red cross
and the java console shows a bunch of classloader errors.  But it runs!
(the java console itself is a Java program)

        Interesting... on i386 NetBSD 5 symlinking
        /usr/pkg/java/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
        into firefox's plugin directory is enough to get java working
        in firefox3 - tested by going to
        http://www.bubblemark.com/java.html (57 fps on my T60p)

        I wonder why the amd64 build is so different...
--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index