Creating executable jar file in Eclipse
I have just 3 files:
TestJar.java - this has my main()
TestJarForm - this has my form/AWT/Swing components - basically just a button that says press me, when pressed it plays bark.wav from the sounds file (next file)
So I clicked on file->export->Java->Runnable Jar File->
then gave the jarfile name as Test4
and specified the directory where it should be created.
I opened the jar file and I see a crapload of other files that are not related to these three. Basically, it jarred ALL the files in the project folder - how do I limit it to jar just these 3?
Can I just delete these extra files from the jar?
And finally double clicking the jar file... nothing happens :(
The jar file seems to be associated with Nokia's OVI and that instead launches :(
(I am on Windows 7)
If need be I can copy and paste the contents of the 3 files here...