add jdk requirement for travis