title: Checking if Java is installed in a makefile
body: <p>I'm writing a make file that compiles and runs a Java program, but it'll be run on different platforms so I want the make file to first determine if Java IS installed, and only then will it compile and run the .java file.</p>
  
  <p>How would I go about doing this?  </p>