Closed anikfal closed 9 months ago
What version of netcdf-java are you using? I suspect it's an older version-- I would suggest trying the newest 5.5.3 version or 5.5.4-SNAPSHOT version.
If you need a workaround for this version, you can try editing the build to look for gretty in on the artifacts server (3rd party repo) for version 2.0.1. (see https://artifacts.unidata.ucar.edu/#browse/browse:unidata-3rdparty:com%2Fcwardgar%2Fgretty-fork%2Fgretty%2F2.0.1)
By Java-11 and the latest version (5.5.3) of netcdf-java, it could be successfully built. Thanks.
So why did they recommend to checkout
to v5.0.0
?! For building this version, Java-8 seems to be necessary (with errors though).
That documentation reads:
By default, the current branch head is set to master, which is our main development branch. If you’d like to build a released version instead — v5.0.0, for example, you’ll need to checkout that version:
git checkout v5.0.0
So that is an optional step.
OS: Fedora-36 Java Version: 8
According to theses steps, after
./gradlew assemble
, the error below happens: