2 Minutes To Code (β Version)

'javac' command - 2 minute tutorial

How to add multiple jars in classpath

To set multiple resources in the classpath, separate them using a semi-colon(;) in a windows machine or a colon(:) on a linux machine.

Remember that, to put jar file in the classpath, to have to give its complete path including the jar file name; to put classes/properties files/xml files etc in classpath, you have to add the folder containing these in the classpath. To add the package folders in classpath, just add the folder contaning the top folder of package hierarcy in the classpath.