Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Clearing Java Cache from command line.

843802Feb 10 2009 — edited Feb 10 2009
I need advice on how to clear the java cache...from the command line (Start ---> Run)

Typing javaws in the command line doesn't bring up the web start application so I can't clear by going to File ---> Preferences.

I've also tried to clear manually by:
1. Delete all the files under the path C:\Users\{username}\AppData\Roaming\Sun\Java\Deployment\cache\javapi\v1.0\file

2. Delete all the files under the path C:\Users\{username}\AppData\Roaming\Sun\Java\Deployment\cache\javapi\v1.0\jar

But I can't find either of those paths in the computer directory. The closest is C:Windows\Sun\Java\Deployment, which has no sub-folders in it.

I am not able to access the Control Panel because it is a shared PC and access to the Control Panel has been disabled, so I can't locate the program through there.

I've also tried typing javaws -Xclearcache -silent -Xnosplash in the command line and this also doesn't clear the cache.

It's version 1.5 and running on Windows XP.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2009
Added on Feb 10 2009
1 comment
7,891 views