Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <5.0.0.25.0.20001118161457.00a54830@pop.bresnanlink.net>
X-Sender: cabbey@pop.bresnanlink.net
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Sat, 18 Nov 2000 16:27:07 -0600
To: <cygwin@sourceware.cygnus.com>
From: Chris Abbey <cabbey@bresnanlink.net>
Subject: Re: How to run javac
In-Reply-To: <00b601c05188$43d357a0$7e5858ca@bct51>
References: <4.3.1.2.20001118123050.021d8890@pop.ma.ultranet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed



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`

alternately, pick up a copy of jikes (http://jikes.org/) which, when compiled
as a cygwin application, will grok cygwin paths natively. The download path
for a cygwin native tar ball is : 
http://oss.software.ibm.com/developerworks/opensource/jikes/project/download/mdejong/jikes-1_12-cygwin.tgz

now the forces of openness
     have a powerful and
     unexpected new ally
    http://ibm.com/linux/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

