Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 21:14:56 +0200
From:      solardynamo <solardynamo@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   jdk16 installation: UnsatisfiedLinkError
Message-ID:  <d45499dc0805161214o516cdf1i91eaab94a96cba2e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to build jdk16 on FreeBSD 7 with diablo-jdk15 and I'm
getting an error:

...
Loading source file ../../../../src/share/classes/javax/swing/JToolBar.java...
Loading source file ../../../../src/share/classes/javax/swing/JTree.java...
Loading source file ../../../../src/share/classes/javax/swing/JWindow.java...
Loading source file
../../../../src/share/classes/javax/swing/text/JTextComponent.java...
Constructing Javadoc information...

>>> Generating beaninfo for javax.swing.AbstractButton...
javadoc: error - In doclet class GenDocletBeanInfo,  method start has
thrown an exception java.lang.reflect.InvocationTargetException
java.lang.UnsatisfiedLinkError: Can't load library:
/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/motif21/libmawt.so
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
       at java.lang.Runtime.load0(Runtime.java:770)
       at java.lang.System.load(System.java:1005)
       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
       at java.lang.Runtime.loadLibrary0(Runtime.java:823)
       at java.lang.System.loadLibrary(System.java:1030)
       at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
       at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
       at java.awt.Component.<clinit>(Component.java:552)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:169)
       at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:472)
       at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:355)
       at GenDocletBeanInfo.start(GenDocletBeanInfo.java:190)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215)
       at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91)
       at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
       at com.sun.tools.javadoc.Start.begin(Start.java:128)
       at com.sun.tools.javadoc.Main.execute(Main.java:41)
       at com.sun.tools.javadoc.Main.main(Main.java:31)
1 error
gmake[3]: *** [.javadoc.beanlist] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk16/work/j2se/make/javax/swing/beaninfo'
gmake[2]: *** [swing-1.2-beans] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk16/work/j2se/make/javax/swing/beaninfo'
gmake[1]: *** [initial-image-jdk] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.

tr@~ >cat /var/db/ports/jdk16/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for jdk-1.6.0.3p4_1
_OPTIONS_READ=jdk-1.6.0.3p4_1
WITHOUT_DEBUG=true
WITHOUT_IPV6=true
WITH_WEB=true
WITHOUT_POLICY=true
WITH_TZUPDATE=true
WITHOUT_JAIL=true
tr@~ >pkg_info |grep motif
open-motif-2.2.3_5  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
tr@~# uname -a
FreeBSD lynx.ath.cx 7.0-STABLE FreeBSD 7.0-STABLE #3: Fri May  2
17:50:35 CEST 2008     tr@lynx.ath.cx:/usr/obj/usr/src/sys/SELEYA
i386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d45499dc0805161214o516cdf1i91eaab94a96cba2e>