if you have still these problems; you should remove completely Java (you can use ccleaner or the windows tool), then remove all the java keys from your registry (not the keys associated with other programs like firefox or Open office etc), and BE CAREFUL.
then install the latest java Version 8.
it's maybe a coincidence, but after doing that, i don't have anymore these problems
Comments
Although it does make anything else running Java just a tad easier/faster.