erreur java

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Bonsoir,

j'ai réussi à installer java dans le Bin de mon user. Par contre quand je
veux lancer une appli graphique j'ai l'erreur suivante:

~/Bin/groovy-1.1-rc-2/bin $ ./groovy swing.groovy
Caught: java.lang.UnsatisfiedLinkError:
/home/hacker/Bin/jre1.6.0_03/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open
shared object file: No such file or directory
        at groovy.swing.SwingBuilder.class$(SwingBuilder.groovy)
        at
groovy.swing.SwingBuilder.registerBeanFactory(SwingBuilder.groovy:202)
        at groovy.swing.SwingBuilder.registerWidgets(SwingBuilder.groovy:58)
        at groovy.swing.SwingBuilder.<init>(SwingBuilder.groovy:46)
        at swing.run(swing.groovy:3)
        at swing.main(swing.groovy)

Idem avec freemind:
~/Bin/freemind-0.9.0-beta14 $ ./freemind.sh
ERROR:   Your Java virtual machine is neither Sun nor Blackdown,
         =======================================
         FREEMIND WILL MOST PROBABLY *NOT* WORK,
         =======================================
         define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH in order
         to point to such a VM. See the manpage of freemind(1) for details.
Checking Java Version...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/hacker/Bin/jre1
..6.0_03/lib/i386/xawt/libmawt.so: libXtst.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(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)
        at freemind.main.FreeMindStarter.main(FreeMindStarter.java:53)


Dans les deux cas il semble ne pas trouver libXtst.so.6.

Christophe: vois-tu pourquoi ?

Merci.
--
Didier Bretin
http://bretin.net/

---
SliTaz GNU/Linux Mailing list.
Web site : http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/