> Is there a way to make a JAR file the default application to load when
> clicking on a certain file type on windows? On a Mac?
Yes. You can have the user do it "manually", or you can have your
program request to do this (though you will have to write OS specific code),
or you can use JAWS to do it automatically for you.
- Oliver
>Is there a way to make a JAR file the default application to load when
>clicking on a certain file type on windows?
see http://mindprod.com/jgloss/jar.html#ASSOCIATION
I think you meant making java.exe the default application when
clicking a *.jar.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Rationem - 23 Mar 2006 22:42 GMT
> >Is there a way to make a JAR file the default application to load when
> >clicking on a certain file type on windows?
> see http://mindprod.com/jgloss/jar.html#ASSOCIATION
> I think you meant making java.exe the default application when
> clicking a *.jar.
> --
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.
No - I mean something like double clicking helloILoveJava.abc will load
JarFile.jar, much like double clicking a .doc opens it in Word.
Roedy Green - 24 Mar 2006 00:27 GMT
>No - I mean something like double clicking helloILoveJava.abc will load
>JarFile.jar, much like double clicking a .doc opens it in Word.
Ok. to do that you set up an association between *.abc and
java.exe -jar c:\somedir\xxx.jar %1

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Monique Y. Mudama - 23 Mar 2006 22:42 GMT
>>Is there a way to make a JAR file the default application to load
>>when clicking on a certain file type on windows?
[quoted text clipped - 3 lines]
> I think you meant making java.exe the default application when
> clicking a *.jar.
They might not. Think, eg, a text editor implemented in Java.

Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html