Hallo,
ich benutze Ubuntu Feisty Fawn,
nach dem Start von
java -Djava.library.path="./lib" -jar RP6Loader_lib.jar
bekomme ich folgende Fehlermeldung (die ich laut SUN dem Programmierer schicken soll).
------------------------------------------------------
SystemLogger started at: Thu Aug 02 17:03:26 CEST 2007 (118606700690
Exception in thread "main" java.lang.NoClassDefFoundError: jd2xx/JD2XXEventListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$000(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:18
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
at de.dsh.rp6loader.Init.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:30
at de.dsh.rp6loader.Init.main(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: jd2xx/JD2XXEventListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$000(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:18
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
at cls.r.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(JComponent.ja va:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.ja va:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:5 64)
at javax.swing.JComponent.paintChildren(JComponent.ja va:859)
at javax.swing.JComponent.paintToOffscreen(JComponent .java:5111)
at javax.swing.BufferStrategyPaintManager.paint(Buffe rStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.ja va:1132)
at javax.swing.JComponent.paint(JComponent.java:100
at java.awt.GraphicsCallback$PaintCallback.run(Graphi csCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGra phicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraph icsCallback.java:97)
at java.awt.Container.paint(Container.java:1797)
at javax.swing.RepaintManager.paintDirtyRegions(Repai ntManager.java:73
at javax.swing.RepaintManager.paintDirtyRegions(Repai ntManager.java:683)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Re paintManager.java:663)
at javax.swing.SystemEventQueueUtilities$ComponentWor kRequest.run(SystemEventQueueUtilities.java:12
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:16
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:121)
------------------------------------------------------------------------------------
Im Terminal wird folgende Fehlermeldung ausgegeben:
Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
-------------------------------------------------------------------------------------
Ich habe die korrekte Java Versioninstalliert und mit
sudo update-alternatives --config java
auch die neuste Version eingestellt.
Es gibt 4 Alternativen, die »java« bereitstellen.
Auswahl Alternative
-----------------------------------------------
+ 1 /usr/lib/j2se/1.4/bin/java
2 /usr/bin/gij-wrapper-4.1
3 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
* 4 /usr/lib/jvm/java-6-sun/jre/bin/java
Wie bekomme ich den RP6Loader zum Laufen?
Lesezeichen