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 delete files from Dropbox and later change your mind, you have up to 30 days to restore and recover them.