fixed jdk and policy file setup