Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove X dependency #305

Closed
jgeluk opened this issue Sep 9, 2018 · 1 comment
Closed

Remove X dependency #305

jgeluk opened this issue Sep 9, 2018 · 1 comment

Comments

@jgeluk
Copy link
Contributor

jgeluk commented Sep 9, 2018

Can't launch the jar without any parameters:

java -jar /usr/share/java/widoco/widoco-launcher.jar 
Error while extracting the reosurces: tmp1536507828469/ajax-loader.gif (No such file or directory)
Exception in thread "main" java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
	at java.awt.Window.<init>(Window.java:536)
	at java.awt.Frame.<init>(Frame.java:420)
	at java.awt.Frame.<init>(Frame.java:385)
	at javax.swing.JFrame.<init>(JFrame.java:188)
	at widoco.gui.GuiStep1.<init>(GuiStep1.java:48)
	at widoco.gui.GuiController.<init>(GuiController.java:56)
	at widoco.gui.GuiController.main(GuiController.java:442)

Ideally when launched without parameters one would expect to see the version number and the help.

@dgarijo
Copy link
Owner

dgarijo commented Oct 22, 2018

When launched without parameters, a GUI comes up. That is why the display variable error appears. I will try to show up a message with the version too.

dgarijo added a commit that referenced this issue Nov 12, 2018
Several issue fixes (See issues for more details)
@dgarijo dgarijo closed this as completed Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants