Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <5.1.0.14.2.20020211155509.02474ad0@pop3.cris.com>
X-Sender: rrschulz@pop3.cris.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 11 Feb 2002 16:09:39 -0800
To: wally liau <wally_2nd@yahoo.com>, cygwin@cygwin.com
From: Randall R Schulz <rrschulz@cris.com>
Subject: Re: HELP: java path and classpath question
In-Reply-To: <20020211223949.70868.qmail@web13401.mail.yahoo.com>
References: <5.1.0.14.2.20020211105436.024f3b00@pop3.cris.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

Wally,

Unless a program has been ported to and compiled with Cygwin headers and 
libraries it is a Windows program and knows nothing of POSIX (Unix-style) 
file names and PATH (-type) variables. Cygwin programs will understand both 
kinds of arguments. To be more precise, the Cygwin libraries take either 
kind of file name, but a program that was only minimally ported to Cygwin 
might make its own assumptions about what a file name looks like, and could 
misinterpret a Windows-style name.

The Java tools from Sun have _not_ been ported to Cygwin, and hence you 
must supply arguments in the Windows format.

Good luck.

Randy


At 14:39 2002-02-11, you wrote:
>He Randall, thanks a lot for the message.
>
>The java compiler I am using is called generic java (with extended utility 
>classes, see http://www.research.avayalabs.com/user/wadler/pizza/gj/and 
>http://developer.java.sun.com/developer/earlyAccess/adding_generics/).
>
>
>those environment variables and alias are set in .bashrc. "gjc" is 
>supposed to compile java source files containing templates into stardard 
>class files.
>
>I am confused with cygwin- and window-style paths. A simple question is 
>which style to use in order to invoke window java vm, and if window-style 
>path is the one to be used, how to put it in a file like .bashrc.
>
>Thanks again.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

