Update JAVA_OPTS to be suitable for free gear