delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/09:48:51

X-Spam-Check-By: sourceware.org
X-Flags: 0001
Message-ID: <20060523134838.19260@gmx.net>
MIME-Version: 1.0
Date: Tue, 23 May 2006 15:48:38 +0200
from: "Peter Mueller" <Peter DOT Mueller10 AT gmx DOT de>
subject: Java program under cygwin?
to: cygwin AT cygwin DOT com
X-Authenticated: #23355608
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019