delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/21/13:15:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Importance: Normal
Subject: Re: How to run javac
To: <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000
Message-ID: <OFACE4CB9C.0CCB2644-ON8625699E.0063B86D@RCHLAND.IBM.COM>
From: "Fred Kulack" <kulack AT us DOT ibm DOT com>
Date: Tue, 21 Nov 2000 12:09:43 -0600
X-MIMETrack: Serialize by Router on d27ml103/27/M/IBM(Release 5.0.5 |September 22, 2000) at
11/21/2000 12:09:43 PM
MIME-Version: 1.0

>
> Larry, nailed problem #1, javac is itself a java program, and java
doesn't
> grok cygwin paths (unfortunately) so you need to either pass it a dos
path
> it will understand, or a basic unix path it will understand. I'll
discourage
> you from attempting the second, as it would go against the generally
accepted
> rule of not putting cygwin' root directory in your dos root ( i.e. / ==
c:\ ).
> This leaves the best option as passing java a path it will understand.
Try
> this:
>
> javac -d . `cygpath -w /cygdrive/c/abc/abc.java`
>

Actually, I tend to recommend and always do install cygwin in
the root directory. It gives the most natural unix like environment.

There's nothing special about the root directory, you just have to be
sure you don't delete the couple of files that cygwin puts there.

Wondering how many others do this?

Also, after this: javac /this/is/*.java works fine.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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