Fix having to specify the java version every time