checks for java 8 and assumes the javafx rt jar is included if it is