running jar files...
Hello.
I am pretty new with JARs, and pretty new to java too.
Well anyway, I have some JAR files that i would like to run. At school, i can just double click the icon and it'd start right up.
But at home when i double click it, it doesn't know what program to use. So I 'browse' around, and i think i read somewhere on the web that i should use 'javaw.exe', and when i try that i get this error message:
"Could not find the main class. Program will exit."
i tried a couple other .exe files in that folder, and none of them seem to work.
Can someone help me out here please?
could some one explain to me how to use/access the "JavaTM Archive Tool".
I was looking around for it and i came across jar.exe. So i try that, and it opens up in Command Prompt for a split second. Not long enough for me to read/use it. I did manage to take a screenshot of it...
[img=http://img138.imageshack.us/img138/9526/jartool6hn.png]
(not too sure, how to post pictures on these forums. hope it works. here is the url if it doesn't...
http://img138.imageshack.us/img138/9526/jartool6hn.png )
well, is that the java archive tool?
and if it is, how can i make it stay open for more than a 1/2 second?
if it isn't, can someone describe where i can find it?
thanks.
That (jar.exe) is it. Here's the page that has the instructions on how to use it.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html
You should become familar witht he documentation available at
http://java.sun.com/j2se/1.5.0/docs/
All of this can be downloaded to your computer if you wish from the download page (where you d/l'd Jav)