This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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:159) at java.awt.Window.<init>(Window.java:407) at java.awt.Frame.<init>(Frame.java:402) at java.awt.Frame.<init>(Frame.java:367) at javax.swing.JFrame.<init>(JFrame.java:163) at HelloWorldFrame.<init>(HelloWorldFrame.java:11) at HelloWorldFrame.main(HelloWorldFrame.java:9)
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
4
posted
0
Please don't ask the same question twice. I have already transferred you to the Linux forum because I don't think this is a Java problem at all.
satishkumar janakiraman
Ranch Hand
Joined: May 03, 2004
Posts: 334
posted
0
I dont think this exception is related to Linux. You have written a code which requires a display. But your environment does not support a display. Check your environment has all of them