X-Spam-Check-By: sourceware.org
Message-ID: <61f6f4390605230701q26fb068el1ae80f88a3fa3fb9@mail.gmail.com>
Date: Tue, 23 May 2006 10:01:54 -0400
From: "Jim Drash" <jim.drash@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Java program under cygwin?
In-Reply-To: <20060523134838.19260@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
References: <20060523134838.19260@gmx.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4NE25wx019857

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/


