Compiling multiple jar and java files using javac
问题 I downloaded a sample code written in java that has multiple jar files and java files. I am not a Java programmer so I am having a hard time compiling the code. Here's my attempt: javac -classpath lib/*.jar src/*.java However this is what I get: javac: invalid flag: lib/dom4j-1.6.1.jar Usage: javac <options> <source files> use -help for a list of possible options What's wrong with my approach and how can I compile the code? ALl the jar files are located in the lib folder, and the java files