Menu

Problems to run lxmed

Problems
Vitor
2015-08-11
2015-08-25
  • Vitor

    Vitor - 2015-08-11

    I think the instalation worked fine because I didn't get any error message and the icon is being showed on the settings section of the menu. But when I click on it, a message asking for my root password is showed and, after this message, nothing else happens.

    I tried to run

    sudo java -jar /opt/lxmed/LXMenuEditor.jar

    and also

    java -jar /opt/lxmed/LXMenuEditor.jar

    on the terminal but both commands print this error message

    Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
    at java.awt.Window.<init>(Window.java:535)
    at java.awt.Frame.<init>(Frame.java:420)
    at java.awt.Frame.<init>(Frame.java:385)
    at javax.swing.JFrame.<init>(JFrame.java:174)
    at net.sourceforge.lxmed.gui.MainFrame.<init>(MainFrame.java:107)
    at net.sourceforge.lxmed.gui.MainFrame.getInstance(MainFrame.java:98)
    at net.sourceforge.lxmed.Main$1.run(Main.java:60)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)</init></init></init></init></init>

    Then, I ran the verbose version of these commands:

    java -verbose:class -jar /opt/lxmed/LXMenuEditor.jar

    and I got the following 711 lines:

    http://pastebin.com/Tc8yvPH3

    Does someone know what is the problem here?

    Thank you very much.

     
  • Cakra Komci

    Cakra Komci - 2015-08-25

    Seems that this exception happens when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.
    Is your environment specific in such way?

     

Log in to post a comment.

MongoDB Logo MongoDB