Using java, javac, jar, and CLASSPATH - a simple example
Archive - Originally posted on "The Horse's Mouth" - 2010-07-07 22:41:40 - Graham EllisWhat Version of Java am I running? How do I edit, compile and run a Java program? What does this error message mean? How do I puts lots of classes into a single file, then run them from that file? How do I see what's in that file? How do I get Java to look for a class it needs in a series of places?
All good questions asked early on a Java course. And I answered them all earlier today. I have annotated the log [here], and you'll find the source code of my sample classes too - Annie, Bella, Chloe and Debbie.
From a Java Bootcamp Course, but taught on some other courses too!