using /etc/altenative path for jdk