I want to know how you can clear your Java Cache using Java Code or CMD Line code.
This should be done on a Microsoft Windows Machine anywhere from Windows 7 up.
This should be done on multiple computers so the file paths will be different.
The application uses Javaw as it's default application that it launches with (Not to be confused with Javaws or Webstart - I already have code how to clear Javaws cache). So I will need to know how to clear Javaw cache.
You can do it using Java Control Panel.
How do I clear the Java cache?
How can do it in command line?
This will be the command to clear cache
javaws -clearcache // Remove all non-installed applications from the cache.
And
javaws -uninstall // Remove all applications from the cache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With