From owner-freebsd-java@FreeBSD.ORG Fri May 16 19:42:57 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9C5106566B for ; Fri, 16 May 2008 19:42:57 +0000 (UTC) (envelope-from solardynamo@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id B492F8FC1F for ; Fri, 16 May 2008 19:42:56 +0000 (UTC) (envelope-from solardynamo@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so933022fkk.11 for ; Fri, 16 May 2008 12:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=X8aweAhtdfuJhyCNklMfiAIfwvZ8MT2zss2/Eht1pFg=; b=I2RDI30/MJQgq4pFyrFRN5EBvxWWYFXii80klR8/ZG+tkwvnRwDvYJUvM0sZ236LNBUytZazEuqCPSf9spLie+mZt2vrPzB1acL6Fr9hb1pzGErX3WrZ8Vi7bCM/0EE/S76XpKWxiRieAsvdkDDJOZdcAuzBJlAN2rCFIDDntLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nVcCEgdcCQjUz5BTERZvGPD93tIUgtc1LOTB7FdxYYcmkLScG0ZQI5tI8AozPlKC9FHJcYNY7E77M+LqtZGdbbm+IKVsUzIlmUXJpvo+u0fFwyns57UTPZbzvGspRax3IixfwvSjBf/K59H4jUZ63W1TjvYkTKH7rIlMevzSydY= Received: by 10.125.109.15 with SMTP id l15mr2925046mkm.77.1210965296569; Fri, 16 May 2008 12:14:56 -0700 (PDT) Received: by 10.125.107.14 with HTTP; Fri, 16 May 2008 12:14:56 -0700 (PDT) Message-ID: Date: Fri, 16 May 2008 21:14:56 +0200 From: solardynamo To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: jdk16 installation: UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 19:42:57 -0000 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.(DebugHelper.java:29) at java.awt.Component.(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