Try the following:
javac file1.java file2.java
More Related Contents:
- Maven: add a dependency to a jar by relative path
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- What is the difference between javac and the Eclipse compiler?
- What is pluginManagement in Maven’s pom.xml?
- NoClassDefFoundError – Eclipse and Android
- How to read an external properties file in Maven
- Multi-project test dependencies with gradle
- Optimization by Java Compiler
- Why does javac complain about generics unrelated to the class’ type arguments? [duplicate]
- leiningen – how to add dependencies for local jars?
- Preserving parameter/argument names in compiled Java classes
- Error:java: invalid source release: 8 in Intellij. What does it mean?
- try with resources introduce unreachable bytecode
- In which language are the Java compiler and JVM written?
- Why maven? What are the benefits? [closed]
- Would Java inline method(s) during optimization?
- Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven
- Setting up enviromental variables in Windows 10 to use java and javac
- Suppress javac warning “…is internal proprietary API and may be removed in a future release”
- Java Access Denied
- How can I create an executable/runnable JAR with dependencies using Maven?
- is it possible to disable javac’s inlining of static final variables?
- In Java Lambda’s why is getClass() called on a captured variable
- javac source and target options
- How is “mvn clean install” different from “mvn install”?
- javac command line compile error: package javax.servlet does not exist
- Gradle “Entry .classpath is a duplicate but no duplicate handling strategy has been set”
- How to compile multiple Java files when there are Java files in other packages?
- Is the creation of Java class files deterministic?
- Is this valid Java?