removed sudo for few installations and update jdk test