Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Windows: Clear Java Web Cache Via Command Line

Mitch BartlettAugust 29, 2018 Comments (2)

Clear the Java Web Start Cache using a command line in Microsoft Windows 10, 8, 7, Vista, or XP. When a Java app is accessed, it is downloaded to a cache on your computer. This allows quicker access. Sometimes the caching may cause problems, especially if you’re in a developer environment.

Option 1 – From Command Line

Fortunately, Sun provides a command that allows you to clear the Java Web Start Cache. Here’s how it’s executed:

  1. Hold down the Windows key and press “R” to bring up the Windows Run dialog.
  2. Type “javaws -uninstall” without quotes, then select “OK“.
    Clear Java Web Start Cache command

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

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

Clear Java Web Cache command prompt


Option 2 – From Java Control Panel

  1. Open “Control Panel“, then select “Java“.
  2. From the “General” tab, select the “Settings…” button.
  3. Select “Delete Files…“.
  4. Ensure the “Cached Applications and Applets” option is selected.
  5. Select “OK“.

Java Clear Cache

Categories: Windows

Author Mitch Bartlett

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • How to Turn Off Cortana Lock Screen in Windows 10

    Judy SanhzWindows
  • Windows-11-cant-move-taskbar-fix

    Windows 11: 3 Helpful Tips to Fix Taskbar Not Moving

    Madalina DinitaWindows
  • windows-11-widgets-not-working-fix

    Windows 11: What to Do When the Widgets Stop Working

    Madalina DinitaWindows
  • fix-windows-cannot-map-network-drive

    What to Do When You Can’t Find Your Screenshots on Windows 10

    Judy SanhzWindows

Comments

  1. Tim Wiser says:
    September 29, 2021 at 5:01 am

    Does the first option not just uninstall the software?

  2. David says:
    July 13, 2019 at 4:06 am

    Thanks for sharing…

Leave a Reply

Your email address will not be published. Required fields are marked *

  • browser keeps opening hp support

    Browser Keeps Opening HP Support Assistant Tabs 

  • camera not working in vmware

    Camera Not Working in VMware – How to Fix

  • browser screen goes black

    Browser Screen Goes Black Intermittently 

  • computer heating up in hyper v

    Computer Heating Up When Using Hyper-V – How to Fix 

  • clipchamp unexpected application error

    Clipchamp Unexpected Application Error: Here’s the Solution 

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2025 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.