[TIP] Clear Java cache and .servoy folder by command line
Posted: Tue Jan 26, 2010 1:51 pm
Thanks to my collegue Mark Voorboom, you can now clear your Java cache AND empty your .servoy folder by commandline or by executing a single .bat file.
Just past this code into a text file and save it as 'clear_servoy_cache.bat':
When launching the file, your Java cache and .servoy folder will be cleared!
I don't know what happens if you let this script run from a Servoy client,
but I can imagine it could be a nice way for end users to reset everything and download the client (as clean install option) again.
PS: more java options can be found in the console/terminal by typing: javaws
Just past this code into a text file and save it as 'clear_servoy_cache.bat':
- Code: Select all
javaws -uninstall
DEL /Q "%USERPROFILE%\.servoy"
When launching the file, your Java cache and .servoy folder will be cleared!
I don't know what happens if you let this script run from a Servoy client,
but I can imagine it could be a nice way for end users to reset everything and download the client (as clean install option) again.
PS: more java options can be found in the console/terminal by typing: javaws