Question

How do I clear the cache in NetBeans 8.0 on OSX Mavericks?

Previous posts have suggested that I remove the files under

  • /home/{user}/.netbeans/7.4/var/filehistory and
  • /home/{user}/.netbeans/7.4/var/log

but the hidden folder .netbeans appears to be absent on my computer. Has it moved?

Was it helpful?

Solution

Check menue NetBeans > About menu, it shows path to cache dir. The paths you posted look like for Linux, on Mac it is (at least with recent versions of NetBeans) something like

/Users/{username}/Library/Application Support/Caches/NetBeans/8.0/ 

OTHER TIPS

Go to Netbeans > About and at the bottom you can find the Cache directory. Copy that directory, command + shift + g in the finder, paste the directory and BOOM you're there.

According to NetBeans FAQ on UserDir and CacheDir:

Mac OS X /Users//Library/Caches/NetBeans/8.0/

Windows: C:\Users\\AppData\Local\NetBeans\Cache\8.0\

Unix-like systems: /home//.cache/netbeans/8.0

Go to Help -> About and you will see

Cache directory: Path\to\Directory

go to specified directory and delete everything.

In version netbeans 12.0 path :

Cache directory: /Users/sinjugu/Library/Caches/NetBeans/12.0

Hope for help.

You can find the path by opening the About Netbeans dialog in Netbeans.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top