Running Java GUI apps on Cloud 9

不打扰是莪最后的温柔 提交于 2019-12-10 22:28:48

问题


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

  1. 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:

  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!