Upgraded Java version in JAX-RS example