Failing early if java is not installed

For #38

I added .travis.yml since @stevecrozz insisted in #38 that this work in all currently supported environments.  Since Travis-CI doesn't support widonws, and can only support Mac OS or Linux on a given branch, I opted to only implement this feature for Linux.  Mac OS and Windows users are no worse off than they were before.