Hi,
to get not virus infectet java shit from bad websites and secure your computer you should use this addin, NoSrcipt. Java can be usefull, but manytimes its only a backdoor for virus and badware. It also block unless services like fachebook and advertising (you can still activade it if you want)
Look here and download:
[You must be registered and logged in to see this link.]