added jdk and fixed setting for oraclejdk7