Added install script to check java capability before installing the module