BROOKLYN-55 install script for brooklyn

On a CentOS VM on SoftLayer AMS01, `yum intall java-1.7.0-openjdk-devel` installs javac at `/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/bin/javac`. `which ${check}` may be more reliable