How to clear Java cache?

Total
0
Shares

You should know how to clear java cache because temporary java files can impact the browser’s performance as well as show outdated content. By clearing the cache, we can force browsers to update webpages and get fresh content like applets.

To clear java cache we need to open Java Control Panel. In this short article, we will quickly see the process of cache cleaning.

Open Java control panel

For Windows Operating System

Open javacpl.exe from either of these locations –

Windows 32-bit OS: c:\Program Files\Java\jre7\bin\javacpl.exe
Windows 64-bit OS: c:\Program Files (x86)\Java\jre7\bin\javacpl.exe

For Mac OS

Click Apple icon () > System Preferences > Java icon( )

The Java control panel will look like this –

java control panel

Clear Java Cache

Now, open Temporary Files Settings window by clicking on Settings.. button.

java control panel settings button

Temporary files settings window will open. Now click on Delete Files.. button to clear the cache.

temporary files settings

Select only Trace and Log Files, Cached Applications and Applets. Don’t select Installed Applications and Applets.

delete files and applications window to clear java cache

That’s it. Your Java cache will be cleared by following these steps.

    Tweet this to help others

Sign Up for Our Newsletters

Get only the best articles delivered to your mail

You May Also Like

[Code Example] K Lists In Java

Table of Contents Hide IntroductionLet’s Dive In;klist CommandsCode ExampleResultsRelated Posts: Introduction K-list method displays the entries in the local credentials cache and key table in the command line of the…
View Post

java.lang.NullPointerException

Java throws the exception java.lang.NullPointerException, when you declare an object but do not instantiate it and yet use it for calling a class method or setting / getting variables. Consider…
View Post
break text file into columns java

Break text file into columns Java

Table of Contents Hide IntroductionGetting StartedUsing String.split()Using StringTokenizerUsing Pattern.compile ()Code ExampleResultsLive DemoRelated Posts: Introduction To break text file into columns in Java you can use the split() method. There are…
View Post