Only test against Oracle jdk 7
Fix build