问题
I'm trying to run a simple app that just creates a JFrame
and displays it through the web IDE Cloud 9. I'm getting two separate errors
Exception in thread "main"
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.When this issue is resolved here I then get this error:
- Exception in thread "main"
java.lang.UnsupportedClassVersionError:
Is it possible to run GUI programs through cloud 9? Does anyone know how to update the path variable/java version on cloud 9?
回答1:
It is not possible to run GUI programs on Cloud9.
来源:https://stackoverflow.com/questions/33394337/running-java-gui-apps-on-cloud-9