problem installing/running linux datawarrior [message #11] |
Mon, 13 October 2014 20:00 ![Go to next message Go to next message](/forum/theme/myThemeWithHFCSS/images/down.png) |
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(FontPolicies.java:140)
at org.jvnet.substance.fonts.SubstanceFontUtilities.getDefaultF ontPolicy(SubstanceFontUtilities.java:164)
at org.jvnet.substance.SubstanceLookAndFeel.getFontPolicy(Subst anceLookAndFeel.java:3412)
at com.actelion.research.datawarrior.DataWarriorLinux.i(Unknown Source)
at com.actelion.research.datawarrior.ag.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java :312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Pro tectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDis patchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispat chThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis patchThread.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 )
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 s.java:447)
at org.jvnet.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:241)
... 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 Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) |
thomas
Messages: 693 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 john@server.org" the -X option tells the
server to use the client computer for all userinterface activities as opening windows, tracking mouse
movements etc.
Kind regards,
Thomas
|
|
|