Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Javac error 22

  Asked By: Sean    Date: Jun 17    Category: Java    Views: 769

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?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Javac error 22 Or get search suggestion and latest updates.