The title says it all. I have to clear the java cache (to load a fresh version of an applet) from the command line, and the command line only, without any GUI.
I tried something found here https://stackoverflow.com/a/25807154/4142984
javaws -clearcache
But it opens a GUI that leads me to a window for the Java Control Panel.
The window (seen remotely on a windows machine) is non-resizable, and the interesting buttons from "Temporary Internet Files" are not in the visible part of the window.
Open “Control Panel“, then select “Java“. From the “General” tab, select the “Settings…” button. Select “Delete Files…“. Ensure the “Cached Applications and Applets” option is selected.
Type CMD in the Search bar > right-click on Command Prompt and select Run as Administrator option. On Command Prompt window, type ipconfig /flushdns and press the Enter key. Once the Command is processed, you will see 'Successfully flushed the DNS Resolver Cache' message.
Sorry, I thought you were talking about Java memory cache...
I think you got downvoted because your question is out of topic, and unclear. From this "GUI", you must see where your cache is stored.
Mine is here: /home/ju/.cache/icedtea-web/cache
; then I must do
rm -rf /home/ju/.cache/icedtea-web/cache/*
to remove its content.
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