This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash, javac and that pesky slash.
- To: "number6 at pcbank dot net" <number6 at pcbank dot net>
- Subject: Re: bash, javac and that pesky slash.
- From: Jeff Sturm <jsturm at sigma6 dot com>
- Date: Tue, 25 Jan 2000 13:03:11 -0500
- CC: "'Craig MacFarlane'" <craigm at chemconnect dot com>, "cygwin at sourceware dot cygnus dot com" <cygwin at sourceware dot cygnus dot com>
- Organization: AppNet
- References: <01BF66B1.D09A9760.number6@pcbank.net>
Eric Feliu wrote:
> I use java and cygwin all the time, the thing you need to remember is that java for the
> windows environment was not written to use unix command line syntax. Your compile line
> should be :
>
> bash-2.02% javac -d "d:\destdir\classes" foo.java
An alternative is to write a "javac" shell script that converts the
CLASSPATH and arguments for you, then invokes the "real" javac.
That's what I did, so I would not have to convert dozens of Makefiles.
I can also use either javac.exe or Microsoft's jvc.exe for compiling
without changing a single line in my project.
--
Jeff Sturm
jsturm@sigma6.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com