Skip to content

Commit 05e7684

Browse files
committed
Update netcdf-c loading docs
1 parent 3f946fd commit 05e7684

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/site/pages/netcdfJava/netcdf4Clibrary.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ For standalone CDM library use, you can:
101101
* create a system environment variable: `JNA_PATH=/path/to/library`
102102
* set a Java property on the command line: `-Djna.library.path=/path/to/library`
103103
* set the library path and name in the runtime configuration file
104-
* directly call `Nc4Iosp.setLibraryAndPath()` from your Java program
104+
* directly call `ucar.nc2.ffi.netcdf.NetcdfClibrary.setLibraryNameAndPath` from your Java program
105+
(Note: this must be called prior to calling `isLibraryPresent()` or `getForeignFunctionInterface()` as the C library can only be successfully loaded once)
105106

106107
In all cases, we recommended that you use an absolute path to specify the library location.
107108

0 commit comments

Comments
 (0)