jdk8 support plus option to override  the java homes