Adding Debian support to your script

Just a simple if statement that gets the distro and applies the JAVA_HOME variable.