Fixing debpkg dependency and jdk version for travisci