Hello and thank you for choosing JustAnswer.com
I really think the best way to help you is with a Remote Session. Due to the complexity of the issue you are describing, it would take a lengthy series of back and forth to troubleshoot your issue. It is an additional charge, but it is VERY worth it. Because it usually resolves the issue very quickly, and offers an opportunity to see how an expert interacts with a PC, lending to a small learning experience.
I will connect to your computer, and fix the issue while you watch, if you accept my proposal for remote tech support.
Are you still in need of assistance with you issue of Java and Cookies?
Please let me know