Home » DataWarrior » Installation Issues » problem installing/running linux datawarrior (exceptions running datawarrior)
problem installing/running linux datawarrior [message #11] Mon, 13 October 2014 20:00 Go to next message
johnfuller is currently offline  johnfuller
Messages: 1
Registered: October 2014
Location: United States
Junior Member
I'm trying to install and run datawarrior from an Ubuntu instance in Amazon EC2. I installed java (made sure lastest version is installed), the xdg tools package, and unzipped the tarball. We installed according to the readme but when trying to run datawarrior, the following exceptions are found:
:~/john/datawarrior_linux/datawarrior$ ./datawarrior
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.jvnet.substance.fonts.FontPolicies.getDefaultPlasticPoli cy(
at org.jvnet.substance.fonts.SubstanceFontUtilities.getDefaultF ontPolicy(
at org.jvnet.substance.SubstanceLookAndFeel.getFontPolicy(Subst
at com.actelion.research.datawarrior.DataWarriorLinux.i(Unknown Source)
at Source)
at java.awt.event.InvocationEvent.dispatch( :312)
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$200(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDis
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispat
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread. java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread. java:138)
at )
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit. java:224)
at org.jvnet.lafwidget.utils.LookUtils.isLowResolution(LookUtil
at org.jvnet.lafwidget.utils.LookUtils.<clinit>(
... 19 more

Any thoughts on what might be wrong? Many thanks!
Re: problem installing/running linux datawarrior [message #12 is a reply to message #11] Thu, 16 October 2014 11:23 Go to previous message
thomas is currently offline  thomas
Messages: 146
Registered: June 2014
Senior Member
Hi John,

a Headless Exception is raised, if the headless version (that is the one without user interface classes)
of the Java Runtime environment is installed instead of the regular JRE. The headless JRE is meant for
servers without Desktop user interface, that need to run some Java based services.

I am not exactly sure, but I assume that you can run DataWarrior on such a server nevertheless, if you
log into the server from another computer with e.g. "ssh -X" the -X option tells the
server to use the client computer for all userinterface activities as opening windows, tracking mouse
movements etc.

Kind regards,

Next Topic: Linux upgrades to 4.1?
Goto Forum:

Current Time: Thu Jul 19 17:46:22 CEST 2018

Total time taken to generate the page: 0.00531 seconds