How to keep java from updating