2

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?

Community
  • 1
  • 1
fritz
  • 45
  • 9
  • What is the point of launching a frame on the server? If you want the frame on the client computer, deploy it using [Java Web Start](http://stackoverflow.com/tags/java-web-start/info). – Andrew Thompson Oct 28 '15 at 15:15
  • This is what i was looking for, can you deploy web start on anything but a tomcat server? – fritz Oct 28 '15 at 16:28
  • *"..can you deploy web start on anything but a tomcat server?"* From any server that will serve files to the internet. – Andrew Thompson Oct 28 '15 at 17:19
  • I wish. Cloud 9 is geared for making web applications, not desktop though. – Dan Fletcher Mar 10 '16 at 02:07

1 Answers1

2

It is not possible to run GUI programs on Cloud9.

Brady Dowling
  • 4,920
  • 3
  • 32
  • 62