Added checking on unsupported OS. Added conditional update-alternatives and JAVA_HOME export. Documentation updated