Apple has released a new version of Java to resolve 18 vulnerabilities.