Updated the UNIX bash script to check if Java is available on the path,

and if it is then also whether the version number is sufficient.
Currently only tested on Linux.