Filename problems using Java compiler
John Collins
jcollins@key-tech.net
Wed Feb 17 15:58:00 GMT 1999
When I try to build a java system with cygwin make and jdk1.1.x (x=6,7), I
get failures on each source file of the form
ÃÂ
pkg/Foo.java:23: Public class pkg.Foo must be defined in a file called
"Foo.java".
ÃÂ
I've been through and solved the classpath problems, I had to use ";"
characters instead of ":", and I had to quote the whole classpath
expression.ÃÂ I've tried quoting the individual filenames going into javac
with both single and double quotes, and I can't get them to be interpreted
properly.ÃÂ I get the same error if I just run the win32 javac directly in
bash, so it's not make that's the problem.
ÃÂ
Interestingly, I don't have that problem with the Java2 version of javac, so
something has been changed at the java end.ÃÂ However, for part of what I'm
doing I can't use Java2.
ÃÂ
I've been through the FAQ and the mail archives to no avail.ÃÂ Did I miss
something?ÃÂ Thanks very much.
ÃÂ
John Collins
KeyTech LLC
ÃÂ
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list