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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <388DE55F.D7DE497C@sigma6.com> Date: Tue, 25 Jan 2000 13:03:11 -0500 From: Jeff Sturm Organization: AppNet X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "number6 AT pcbank DOT net" CC: "'Craig MacFarlane'" , "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: bash, javac and that pesky slash. References: <01BF66B1 DOT D09A9760 DOT number6 AT pcbank DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT sigma6 DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com