Degrade gracefully if not using Oracle/Sun JRE