Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: ejfried AT california DOT sandia DOT gov (friedman_hill ernest j) Message-Id: <200011211752.JAA11936@california.sandia.gov> Subject: Re: How to run javac In-Reply-To: <00cc01c053d8$b8d85300$7e5858ca@bct51> from alex at "Nov 22, 2000 00:32:54 am" To: alex Date: Tue, 21 Nov 2000 09:52:51 -0800 (PST) CC: cygwin AT sourceware DOT cygnus DOT com X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Another option, one I have followed for a long time now, is to use the Jikes compiler from IBM (see http://www10.software.ibm.com/developerworks/opensource/jikes/project/). It's -insanely- fast, very solid, and best of all, is a C++ program that compiles under cygwin -- therefore it understands cygwin paths natively. I haven't used javac in perhaps 18 months, and I develop in Java on Win32, Linux, and Solaris machines. I think alex wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > > ----- Original Message ----- > From: "Chris Abbey" > To: > 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 AT sourceware DOT cygnus DOT com > --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 ejfried AT ca DOT sandia DOT gov PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com