LoadersTests as a JAR FileIt's straightforward to package the LoadersTests code, its images, and sounds into a JAR file: jar cvmf mainClass.txt LoadersTests.jar *.class Sounds Images jar i LoadersTests.jar All the class files and everything in the Sounds/ and Images/ subdirectories are packed together.
mainClass.txt contains a single line: Main-Class: LoadersTests The JAR file can be started by double-clicking its icon or from the command line: java -jar LoadersTests.jar |