Thanks for your message. So, I took your advice and examined the directory structure in the JAR file with WinZIP. When it is packaged as a JAR, there are three main directories in the JAR file. One is called .settings and contains resources, ui, and core prefs classes that come from eclipse packages. Another folder is called META-INF and contains the manifest file which has been named MANIFEST.MF. The final one is an appropriate directory tree of my classes:
org/pongpong/pong
This directory contains all of the classes that I've coded, including the class that contains my method which is named StartPong.class.
Does the manifest file need to come out of this separate directory so that the virtual machine can determine the appropriate directory path to find the classes?
Also, in looking at this, another question has come up. I've used a number of classes from open source code that were in separate packages in my workspace in the Eclipse
IDE. None of the classes from these packages are contained within my JAR. For instance, I am using the httpclient class from apache which is in the package: org.apache.commons.httpclient. This is on my classpath in the IDE and compiles and runs without any problems when I run it from within the IDE; however, will there be problems without these classes in the JAR file at runtime or are the references to the classes compiled into my class files? If the former is true, can you tell me how to do this either in eclipse or using the command line approach. I've made JAR files in eclipse 3.0 without any problems and since I upgraded to 3.1 I've run into this issue. I suspect that some of my settings are wrong.
Any help would be greatly appreciated!
-Chris