LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [Ubuntu 9.10]Java error when starting scripts. (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bubuntu-9-10%5Djava-error-when-starting-scripts-778005/)

dj32 12-25-2009 04:21 AM

[Ubuntu 9.10]Java error when starting scripts.
 
Hello there,and Merry Christmas.
I have a serious problem with java and i can't run my gameserver.

my java version is this

java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

And when i am trying to run my gameserver scripts i get this error.

root:~# /home/l2jserver/login # ./L2JConfig.sh
Exception in thread "AWT-EventQueue-0" 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:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
at java.awt.Frame.<init>(Frame.java:368)
at javax.swing.JFrame.<init>(JFrame.java:163)
at net.sf.l2j.configurator.ConfigUserInterface.<init>(ConfigUserInterface.java:120)
at net.sf.l2j.configurator.ConfigUserInterface$1.run(ConfigUserInterface.java:112)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

This is not my desktop computer but my remote server.
I would be really gratefull if someone can help me to resolve this issue.Thank you and again Merry Christmas

druuna 12-25-2009 04:59 AM

Hi,

DO NOT CROSSPOST!!!

Possible answer is in the other thread


All times are GMT -5. The time now is 07:50 PM.