Is there a way to have javac only check a Java file for errors, but without compiling it to a class file? I'm only interested in checking whether the file has syntax errors and so on. I don't want the compiled class file.
Is there a way to have javac only check a Java file for errors, but without compiling it to a class file? I'm only interested in checking whether the file has syntax errors and so on. I don't want the compiled class file.