Menu

Java error: java.lang.NoClassDefFoundError

Help
Spiros G.
2006-02-23
2013-03-08
  • Spiros G.

    Spiros G. - 2006-02-23

    Hi!
    After upgrading from 1.0.3 to 1.1.0, I get the following error:

    $ java -jar /usr/local/bin/jqemu.jar
    java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
            at com.cep.jqemu.JQEMU.<init>(JQEMU.java:53)
            at com.cep.jqemu.JQEMU$8.run(JQEMU.java:355)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Maybe this is trivial but I don't know much about java. The system is Debian Etch (testing) with j2re1.4 installed. Other java programs including previous version of jqemu excecude without problems.

    Thanks for the usefull utility jqemu is!
    Spiros

     
    • Christian Bourque

      Hi Spiros!

      The latest version of JQEMU needs a new library (swing-layout-1.0.jar). This file is included in the distribution package of JQEMU. This file must be in the same directory as JQEMU.

      May be the Debian maintainer of JQEMU's package did not include this file?

      Anyway, download the zip file on SourceForge: http://prdownloads.sourceforge.net/jqemu/jqemu-1.1.0.zip?download

      And copy swing-layout-1.0.jar to the same directory where JQEMU is and this should fix your problem!

      Let me know if you need further assistance!

      Christian

       
    • Spiros G.

      Spiros G. - 2006-02-24

      Hi Christian!

      I've just followed your instructions and JQEMU works great!

      There is no Debian package at the momement. I had downloaded and used the zip package but didn't install swing-layout-1.0.jar file. Maybe a little notice about it in a readme file or at the website could help the impatient and awkward users like me :)

      Thanks again!

      Spiros

       

Log in to post a comment.