All good! It is necessary in cygwin (windows 7) to start compiling all *. Java files in all subfolders. That is something like:

javac src/**/*.java 

javac issues file not found

If the same mask is used with the rm command (rm src / ** / *. Java), then it writes No such file or directory. How to achieve the desired result in cygwin? Is there an alternative way?

    1 answer 1

    Well then write this way

     find src -type f -name *.java -exec javac {} \; 

    (make sure you run in bash and not in cmd)