install missing package before add JDK