I hit Post too soon. so....
Basically, the above doesn't function as proper. Is there another way
(using javaws) to clear the cache? I'm wondering because it would be
terrible to have to enumerate sub-directories and then delete the
jsi.cache dir if there's already functionality in javaws.
Any input would be appreciated.
Thanks!
Matt
On 8 Mar 2006 14:16:29 -0800, "Matt Brown - identify"
<MatthewBrown@gmail.com> wrote, quoted or indirectly quoted someone
who said :
>Basically, the above doesn't function as proper. Is there another way
>(using javaws) to clear the cache? I'm wondering because it would be
>terrible to have to enumerate sub-directories and then delete the
>jsi.cache dir if there's already functionality in javaws.
you can type Javaws.exe -viewer and try deleting via the gui.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Matt Brown - identify - 09 Mar 2006 02:01 GMT
I'm looking to script this for a scheduled task, so my goal is clear
the cache from the commandline.
IchBin - 09 Mar 2006 02:08 GMT
> I'm looking to script this for a scheduled task, so my goal is clear
> the cache from the commandline.
Sorry I sent this to your email address by mistake...
Hate to say this but it worked as designed for me. I am running
JDK.5.0_06. I did not try to use -Xclearcache because it said I did not
have the privileges to do so. I don't feel like looking that up.
javaws -silent -Xnosplash test.jnlp

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Matt Brown - identify - 09 Mar 2006 02:19 GMT
ah hah... i guess -Xclearcache does "work," but gives me the following
error:
"An error occurred while launching/running the application.
Category: System Configuration
The current user does not have write access to the cache."
The exception is as follows:
"JNLPException[category: System Configuration : Exception: null :
LaunchDesc: null ] at com.sun.javaws.Main.main(Unknown Source)"
I am logged on as a local administrator while trying to run the
command; and I definately have write the ability to write to the cache
directory (is this what they mean by cache?). This seems strange.
Any ideas?
Thanks,
Matt