How do I import libraries in my java program without using an IDE like Netbeans? In Netbeans I do it this way:
Make sure the jar file is in your classpath and you have the import statement.