This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Java program under cygwin?
- From: "Charli Li" <KBarticle889459 at aim dot com>
- To: "Cygwin Mailing List" <cygwin at cygwin dot com>
- Date: Tue, 23 May 2006 16:05:57 -0400
- Subject: RE: Java program under cygwin?
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@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Jim Drash
> Sent: Tuesday, May 23, 2006 3:40 PM
> To: cygwin@cygwin.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.Mueller10@gmx.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/