I'm getting an error 22 when using javac in a makefile. I'm running cygwin,
here's what I get:
> $ make
> /java/jdk1.1.8/bin/javac -classpath
".;../../pjava/build/tm/classes;../java_classes" -d ../java_classes -J-mx64m
`find . -name '*.java' -print`
> /java/jdk1.1.8/bin/javac: error 22
> make: *** [fullmhp] Error 1
I think the problem lies at the end with the last parameter which should provide
a filelist. When I execute the command `find . -name '*.java' -print` from the
prompt, a list of files is returned and it seems to work OK. The first two
arguments, the two paths, should be OK because I used them earlier and then
everything went OK.
Does anyone know what error 22 means and what is the problem in this case?