Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to uninstall an Java web start program?

Reply
Thread Tools

How to uninstall an Java web start program?

 
 
NeoGeoSNK
Guest
Posts: n/a
 
      10-12-2006
I wrote an JNLP file like this:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="file:." href="file.jnlp">
<information>
..................

<offline-allowed/>
</information>
<resources>
<j2se version="1.5+"/>
<jar href="filechooser.jar" download="eager"/>
</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, I try to remove it
from Windows's controll pane->add or remove programs.But it seams
dosen't take effect? is there sb give help ?
Thanks!

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      10-12-2006
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.

 
Reply With Quote
 
 
 
 
NeoGeoSNK
Guest
Posts: n/a
 
      10-12-2006

Andrew Thompson wrote:
> 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.


Thank you very much Adrew T
I have alreay solved the problem, thanks for your help in these two
days.
I try to delete the cache in javacpl.exe -> general -> delete temp
files..., but receive an exception "corrupted javaws files..........."
so i get the path of temp files from javacpl.exe->general ->
Settings... and delete all cache files. now it seems work well again

> >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 )..


>I'm sorry about that, My mother language is Chinese. in fact, it's a little difficult for me to write and read in English, I must use a goolge translator or a online dictionary to understand you replay I learnt "sb == somebody" from my colleague, they usually communicate with French in English, and I can see "sb" in their mails anywhere I think both French and Chinese don't know sb also means "a son-of-a-bitch" I'm sorry.


>It's my first time to ask for help from goole groups. and I'm so Lucky to get your help.

Thanks and Best Regards!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
'make uninstall' - manual uninstall DBD::Oracle; fix perllocal.pod Am Nym Perl Misc 4 05-21-2012 01:58 PM
Web Start apps will not uninstall Steve Sobol Java 5 11-18-2009 02:22 PM
Java Web Start Uninstall Roedy Green Java 1 06-19-2009 07:38 AM
Smart Client Install/Uninstall broken - Not able to Uninstall Rahul ASP .Net Web Services 0 04-24-2008 10:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57