Just found out:

java.lang.UnsatisfiedLinkError: /usr/local/j2sdk1.4.2_08/jre/lib/i386/ libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run (LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1458)
        at java.awt.Color.<clinit>(Color.java:250)
at org.apache.bcel.verifier.structurals.Subroutines.<init> (Subroutines.java:442) at org.apache.bcel.verifier.structurals.ControlFlowGraph.<init> (ControlFlowGraph.java:440) at org.apache.cocoon.components.flow.java.ContinuationClassLoader.transform (ContinuationClassLoader.java:145) at org.apache.cocoon.components.flow.java.ContinuationClassLoader.loadClass (ContinuationClassLoader.java:114)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.apache.cocoon.components.flow.java.JavaInterpreter.initialize (JavaInterpreter.java:93) at org.apache.cocoon.components.flow.java.JavaInterpreter.callFunction (JavaInterpreter.java:123) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invo ke(CallFunctionNode.java:138)
        ...

Javaflow (or is it BCEL?) depends on AWT and therefore requires that X11 libs be present on a *nix system in order to run. And no, using "- Djava.awt.headless=true" is not enough. I had to do

        apt-get install xlibs

to bypass this problem. Is this actually as braindamaged as it appears?

        Ugo

--
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine & Food Blog: http://www.divinocibo.it/



Reply via email to