This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: How to run javac
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Re: How to run javac
- From: "alex" <tinbb at hkplanet dot com>
- Date: Wed, 22 Nov 2000 00:32:54 +0800
- References: <4.3.1.2.20001118123050.021d8890@pop.ma.ultranet.com> <5.0.0.25.0.20001118161457.00a54830@pop.bresnanlink.net>
----- Original Message -----
From: "Chris Abbey" <cabbey@bresnanlink.net>
To: <cygwin@sourceware.cygnus.com>
Sent: Sunday, November 19, 2000 6:27 AM
Subject: Re: How to run javac
>
>
> 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`
>
but it doesn't work when *.java
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com