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.
It's pretty simple to undo in Photoshop, usually only requiring a few clicks. However, depending on the version of Photoshop, the steps can vary.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results