Windows: clear Java web cache via command line

Share

Clear the Java Web Start cache using a command line in Microsoft Windows 10, 8, 7, Vista, or XP. When you access a Java application, it is downloaded to a cache on your computer. This allows for faster access. Sometimes caching can be a problem, especially if you are in a development environment.

Option 1: from the command line

Fortunately, Sun provides a command that allows you to clear the Java Web Start cache. This is how it runs:

  1. Hold the Windows key and press «R”To display the Windows Run dialog box.
  2. Paste “javaws -uninstall“Without quotes, then select”Correct«.

You should see a pause and then the cache will be cleared. No notification will appear to inform you that the order was successful.

  Phil Spencer congratulates Naughty Dog on sales of The Last of Us 2

You can also run this same command from a classic command prompt.

Option 2: from the Java control panel

  1. Opened “Control Panel«, Then select»Java«.
  2. From “general«, Select the»Settings …“button.
  3. Select «Delete files …«.
  4. Make sure the “Cached applications and applets»Is selected.
  5. Select «Correct«.

Windows: clear Java web cache via command line

Related Posts