Update JAVA_OPT for better performance.