bash, javac and that pesky slash.

Craig MacFarlane
Mon Jan 24 09:32:00 GMT 2000

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

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

More information about the Cygwin mailing list