Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

Java Cache removal

Hey all,
Im looking at some how either by group policy, Batch file or script to control the Java cache. Basically i want the contents of it emptied. Reason for this is it takes up abit of space but more importantly our AV reports alot of it as suspious so will help clear the AV logs down.
We have a mix enviroment of XP,Vista and W7 so there are obviously issues witht he folder location for example xp is Docs and sets\user\App Data\Sun\Java\Deployment\Cache and 7 is users\user\app data\ etc. How does everyone else deal with this?
0
IT-Darlo
Asked:
IT-Darlo
  • 2
1 Solution
 
ch_saipradeepCommented:
open notepad
type:
javaws -uninstall

save it as 'del.bat'
execute the batch file whenever necessary....

Hope this helps....
0
 
IT-DarloAuthor Commented:
This will wipe the cache what ever the location and version?
0
 
ch_saipradeepCommented:
yes, it will remove the cache whatever the version and OS you are using.

if you want to remove a specific jnlp from your cache, you can use:

javaws -uninstall <jnlp file name>



Hope this helps..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now