changed travis conf to jdk7