Re: Confused with JAR Files.
perhaps u compiled as an Applet? I believe applets don't have a Main. -- Eclipse compiles on the fly when u run it I believe... so that may be your problem is wrong exprot type?
Re: Confused with JAR Files.
Library Handling:
Extract Libs into jar
Package Libs into jar
Create directory
Does it matter which one of these I choose? Do I have to put the class files into the same folder as the jar?
Re: Confused with JAR Files.
hmm... not sure... sorry...
perhaps just try to compile the program (into .class file) and then run from command line on the other machines... command would be something like "java YourProgram" and see what it does... does it still say Main not found?
im unsure how complex your project is, and if you have multiple source files generated now (.java files) or if you only have a single source file. if a single source file, you should be able to complile to .class and then run from command line... if u have multiple source files, then I'm probably of no help lol.
Re: Confused with JAR Files.
Ok, another thing to try if you have not already. this will confirm if you file was formatted as an applet -
create a html document such as this:
<applet code="YourAppName.class" height=500 width=500></applet>
Then place ur .class file as well as ur HTML file into the same directory, and run the HTML file using appletviewer
command line code: appletviewer YourAppName.html
this is used only for testing and shouldn't be used to run an applet otherwise... but may shed some light on how your app is working. Also, inspect your code in Eclipse, have you confirmed you have a main() block after Eclipse has messed with your code? Do you have an init() and paint() blocks? Those would confirm Eclipse turned your project into an applet.
Hope this is of some help :-/
Re: Confused with JAR Files.
An applet extends one of the applet classes. An applet would not start execution by clicking on a jar file.
To see if there is an error message that is not showing, open a command prompt window, change to the folder with jar file and enter the command:
java -jar <THEJARFILENAME>.jar
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.