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:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?