Java Web Start Uninstall

R

Roedy Green

Digging with Google, I have seen comments that:

1. Java Webstart will call you INSTALL class main method on uninstall
???? What a goofy thing to do! How does it know if it is installing
or uninstalling?

2. Others say the install class gets invoked only on install. This is
a bug.

Anyone done some experiments?
--
Roedy Green Canadian Mind Products
http://mindprod.com

If everyone lived the way people do in Vancouver, we would need three more entire planets to support us.
~ Guy Dauncey
 
A

Andrew Thompson

Digging with Google, I have seen comments that:

1. Java Webstart will call you INSTALL class main method on uninstall
????  What a goofy thing to do! How does it know if it is installing
or uninstalling?

Buried in section 5.2.3 "Launching an Extension
Installer/Uninstaller" of the JNLP Spec. is the detail
"For installation, the JNLP Client must invoke
the public static void main(String[]) method in
the specified class with the String array
{"install"} as an argument.

For uninstallation, the JNLP Client must invoke
the public static void main(String[]) method in
the specified class with the String array
{"uninstall"} as an argument. "

I find it frustrating that the best source of
information on working with JNLP/Webstart, the
spec., is not available for on-line browsing.
2. Others say the install class gets invoked only on install. This is
a bug.

Anyone done some experiments?

See for my test build file..
<http://pscode.org/jws/api.html#eis>,
as well as links to the bug reports based on
the fact that no-one *ever* seems to have
managed to make the uninstaller work.

I just tried it again now on Ubuntu Linux
running Sun's Java 1.6.0_11, and though I
'deleted' the app. from the Java Control
Panel, saw no final 'Thanks' dialog. :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top