loosening the version constraing on java. upgrading the gemfile