You have to know all the directories, or be able to use wildcard ..
javac dir1/*.java dir2/*.java dir3/dir4/*.java dir3/dir5/*.java dir6/*src/*.java
More Related Contents:
- Compile code fully in memory with javax.tools.JavaCompiler [duplicate]
- Preserving parameter/argument names in compiled Java classes
- Error:java: invalid source release: 8 in Intellij. What does it mean?
- How to compile java package structures using javac
- Javac “cannot find symbol”
- How to compile multiple Java files when there are Java files in other packages?
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- How do you dynamically compile and load external java classes? [duplicate]
- Compiling a java program into an executable [duplicate]
- javac option to compile all java files under a given directory recursively
- java compiled classes contain dollar signs
- Using internal sun classes with javac
- Running java in package from command line
- How to intentionally cause a custom java compiler warning message?
- javac error: Class names are only accepted if annotation processing is explicitly requested
- Compiling and Running Java Code in Sublime Text 2
- Compiling multiple packages using the command line in Java
- How to compile dynamic library for a JNI application on linux?
- Make javac treat warnings as errors
- Creating non-reverse-engineerable Java programs
- Casting a class to an unrelated interface
- How to compile multiple java source files in command line
- On-the-fly, in-memory java code compilation for Java 5 and Java 6
- Why do I get compilation error “org/codehaus/groovy/control/CompilationFailedException”?
- How do I compile a java file that has jar dependencies?
- How to wildcard include JAR files when compiling?
- How can I suppress javac warnings about deprecated api?
- How to tell eclipse to add-exports when compiling
- Why do java source files require package declarations?
- Multiple .class files generated for a class?