problem building native jdk 1.4.1

Shannon -jj Behrens jj at nttmcl.com
Wed Apr 9 09:38:11 PDT 2003


I had a similar problem on a similar system.  It turned out to be a corrupt
jar file.  I deleted the package and tried again, and things worked.

Best Regards,
-jj

On Wed, Apr 09, 2003 at 04:11:33PM +0200, Tomas Pluskal wrote:
> Hello,
> 
> I am trying to build jdk 1.4.1 on 4.8-STABLE system, with linux-jdk-1.4.1
> installed, XFree86 4.3.0.
> It ends up with this:
> 
> >>> Generating beaninfo for javax.swing.AbstractButton...
> javadoc: In doclet class GenDocletBeanInfo,  method start has thrown an
> exception java.lang.reflect.
> InvocationTargetException
> java.lang.UnsatisfiedLinkError:
> /usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/libawt.so
> : /usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/libawt.so:
> Undefined symbol "_XEditResResetStream"
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>         at java.lang.System.loadLibrary(System.java:832)
>         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:507)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:140)
>         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:324)
>         at
> com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
>         at
> com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:92)
>         at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:301)
>         at com.sun.tools.javadoc.Start.begin(Start.java:120)
>         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/jdk14/work/j2se/make/javax/swing/beaninfo'
> gmake[2]: *** [swing-1.2-beans] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/java/jdk14/work/j2se/make/javax/swing/beaninfo'
> gmake[1]: *** [image-jdk] Error 2
> gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2

-- 
Hacker is to software engineer as 
Climbing Mt. Everest is to building a Denny's there.


More information about the freebsd-java mailing list