-
x 11
i am trying to send a string from 1 computer to another but i am getting following problem:
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(Graphic sEnvironment.java:173)
at java.awt.Window.<init>(Window.java:437)
at java.awt.Frame.<init>(Frame.java:419)
at javax.swing.JFrame.<init>(JFrame.java:218)
at sendserver.<init>(sendserver.java:17)
at sendserver.main(sendserver.java:9)
-
-
the main problem is how to set X11 display variable in ubuntu...........not code..
-