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.
You can delete your Google account by going to Google's "delete or service your account" page, but you can export your data beforehand.