bash, javac and that pesky slash.
Mon Jan 24 16:05:00 GMT 2000
Strange, I'm using cygwin with jdk1.2.2/1.2.1/1.1.8 and have been happily
backslash-free on my NT box. Javac understands normal unix-style path
separators for me...
$ javac -d /home/me/lib/java Foo.java Bar.java
why the 2 leading solidii in your -d example?
From: Craig MacFarlane <email@example.com>
To: firstname.lastname@example.org <email@example.com>
Date: Monday, January 24, 2000 9:32 AM
Subject: bash, javac and that pesky slash.
>Sun's javac, in jdk1.2.1, seems to change the
>forward slashes used by bash to backward slashes
>used by windows.
> bash-2.02% javac -d //d/destdir/classes foo.java
>produces the error message
> The \\d\destdir\classes directory does not exist.
>Is there any way to use javac with bash
>while specifying destination dirs for your classes?
>It appears as though javac is trying to be too smart
>by substituting slashes.
>Want to unsubscribe from this list?
>Send a message to firstname.lastname@example.org
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin