removing jdk dependency