fixed dependencies and java version