Could someone help me out?
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.Sh adowPopupFactory.install(ShadowPopupFactory.java:115)
at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(Subst anceLookAndFeel.java:1781)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:538)
at org.pushingpixels.substance.api.SubstanceLookAndFeel.setSkin(Substanc eLookAndFeel.java:2163)
at org.pushingpixels.substance.api.SubstanceLookAndFeel.access$000(Subst anceLookAndFeel.java:92)
at org.pushingpixels.substance.api.SubstanceLookAndFeel$3.run(SubstanceL ookAndFeel.java:2136)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which r equires it.
at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:226)
at org.pushingpixels.lafwidget.utils.LookUtils.isLowResolution(LookUtils .java:435)
at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:2 33)
... 20 more
root@WelloffUneven-VM:~/Desktop# java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Server VM (build 25.101-b13, mixed mode)
thanks in advance
Fixed it:
Set permissions to execute - everyone.
If anyone runs into the same issue.