View Single Post
  #4 (permalink)  
Old January 15th, 2005, 08:56 PM
Mio Mio is offline
Mistic Surveyor
 
Join Date: Dec 2004
Posts: 125
Here. This .reg file will make .JAR files executable all by themselves, so you don't have to use the .bat file to start them.

Quote:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ja rfile]@="Jar File"

[HKEY_CLASSES_ROOT\ja rfile\shell]

[HKEY_CLASSES_ROOT\ja rfile\shell\open]

[HKEY_CLASSES_ROOT\ja rfile\shell\open\com mand]
@="\"c:\\Program Files\\Java\\j2re1.4 .2_06\\bin\\javaw.ex e\" -jar \"%1\" %*"
you may need to change it based on what version of the JRE you have.
__________________
MCKAY: It's like looking through a microscope at a cell culture and seeing a thousand dancing hamsters!
Reply With Quote