Added home directory to jdk detection lib.