delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/16:06:07

X-Spam-Check-By: sourceware.org
From: "Charli Li" <KBarticle889459 AT aim DOT com>
To: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
Subject: RE: Java program under cygwin?
Date: Tue, 23 May 2006 16:05:57 -0400
Message-ID: <LLEBLEDLPAKFHFKGNDBMAEGCCBAA.KBarticle889459@aim.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <61f6f4390605231240u462a35e9s8e31aeaf5e8c6b72@mail.gmail.com>
X-AOL-IP: 70.20.134.33
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

In cygwin's setup.exe [ftp://ftp.osuosl.org/pub/cygwin/setup.exe], you have
to install the X11 category, and then somehow execute
"%CYGWINBASE%\usr\X11R6\bin\run.exe -p /usr/X11R6/bin startxwin.bat -display
127.0.0.1:0.0 -ls".  This is the way to actually "start" the X-server.  This
requires the Internet access on cygwin to be fully accessible, or else that
will abort the X-server startup.  Once the X-server has started up, you can
then run your java app.
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Jim Drash
> Sent: Tuesday, May 23, 2006 3:40 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: Java program under cygwin?
>
>
> The GUI  in linux (and in other Unixes) is provided via an X-Server.
> An X-server provides a means for client programs (the Java app in
> question) to "draw" on the display.  I use the CygWin/X server all the
> time to do just what you are wanting to do.  Look at the second link
> down on the cygwin home page ( http://www.cygwin.com/ ).
>
>
>
> On 5/23/06, Peter Mueller <Peter DOT Mueller10 AT gmx DOT de> wrote:
> > Hello Dave, hello Jim!
> >
> > > It looks like no X11 DISPLAY variable was set, but this
> > > program
> > > performed an operation which requires it.  This is probably a
> consequence
> > > of
> > > the fact that you're trying to run a GUI in a text-only environment.
> >
> > OK, then I guess I got something wrong:
> >
> > I thought cygwin would help me run programs under Linux from a
> windows machine ...?
> >
> > When running the same Java programme directly under the same
> Linux machine the program is working as expected.
> >
> >
> > Jim Drash wrote:
> > > 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.
> >
> > Sorry, I am a complete newbie to all this! :-(
> > What is an X-Server?
> >
> > Thanks again,
> > 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/

- Raw text -


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