Re: How to uninstall an Java web start program?
NeoGeoSNK wrote:
I wrote an JNLP file like this:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="file:." href="file.jnlp">
<information>
.................
<offline-allowed/>
a)
</information>
<resources>
<j2se version="1.5+"/>
<jar href="filechooser.jar" download="eager"/>
b)
</resources>
<application-desc main-class="FileChooser"/>
</jnlp>
this is a small tool run in current directory, but after I delete
"filechooser.jar". the "file.jnlp" can still work,
It should. WebStart will have honored the 'offline-allowed'(a)
element and 'eager'(b) attributes to indicate it should cache
the resources in the local web start cache(c)..
..I try to remove it
from Windows's controll pane->add or remove programs.But it seams
dosen't take effect?
It might be a corrupted cache, but there are some
other things you can try first *
...is there sb give help ?
Are you calling me a son-of-a-bitch?
Please spell words fully (it is not so important if
they have an occasional spelling error )..
* Other ways to uninstall WebStart applications,
1) Open the command line and find your way to the project
directory (containing the JNLP), and type..
javaws -uninstall file:./file.jnlp
(or something like that, play with it.)
2) The other 'more GUI' way (for Win XP) is to ...
Start | Settings | Control Panel
Java/Icon | (General/Tab) - Delete Files/Button
...select which appropriate, or for more control (
recommended), select the next button 'Settings'
3) The Settings button to produce the
'Temporary Files Settings' dialog. This has buttons like
Delete Files, View Applications/Applets, but more
importantly, it shows (and allows you to change) the
location of the cache. [ (c) 'the cache' was the (c)
reference from above.]
If the cache happens to be corrupted (something that
has happened to me once in a period of around 4
weeks of regular JNLP development) it might be best
to start a new, fresh one.
But be warned. If you attempt to clear the cache by
deleting it, or files within it, you will almost certainly
corrupt it. Only use the supplied tools, for dealing
with the webstart resource cache.
HTH
Andrew T.