Java program under cygwin?

Jim Drash jim.drash@gmail.com
Tue May 23 14:02:00 GMT 2006


Are you running an X-server on your local box? That is what the
message is saying.  It needs to talk to an X-server.

On 5/23/06, Peter Mueller <Peter.Mueller10@gmx.de> wrote:
> Hello,
>
> I am trying to run a Java program which has a GUI associated with it and whose code is on a remote linux server.
>
> I am first establishing an ssh connection with an appended "-X" and then run the java program using the path to the Java programm's sh_start_file.
>
> Unfortunatelly, I am getting the following error message:
>
> java.awt.HeadlessException:
> No X11 DISPLAY variable was set, but this program performed an operation which requires it.
>     at java.awt.GraphicsEnvironment.checkHeadless ...  cut ...
>
>
> Do you have any idea of what could be wrong?
>
> Thanks for your time,
> Peter
> --
>
>
> Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
>       Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list