Install oracle java from webupd8. New parameter added fai_server_java_version
which takes values 1.6 and 1.7. This has been added in documentation as well.