[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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