To clear the Java cache, open the Java control panel, which you can find in the Windows Control Panel or in System Preferences on a Mac.
If you get Windows Error 2 occurred while loading the Java VM error while opening the Launch Anywhere app on your computer, here is how you can get rid of this issue ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results