Skip to content
Sign upLog in
← Back to Community

Java GUI prgrams

Profile icon
jtodaro

Is it possible to run java gui programs in repl? I am getting some weird errors when I try.

Voters
Profile icon
JoshMassey1
Profile icon
jtodaro
Comments
hotnewtop
Profile icon
[deleted]

It would be nice if repl.it could add a way to use Gui's and windows in its IDE.
I appreciate turtle but, im waiting for Java

Profile icon
ash15khng

No, you can't run them as they aren't supported yet...

Profile icon
timmy_i_chen

We currently don't support GUIs yet :( Sorry to say.

Profile icon
ash15khng

@timmy_i_chen When do you think the release of it would be out?

Profile icon
jtodaro

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.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at java.awt.Frame.(Frame.java:385)
at javax.swing.JFrame.(JFrame.java:189)
at Main.main(Main.java:5)