This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Bill, > for your help on this question. Fortunately the c version of > ncdump does what I need. Glad to hear it. > The java works if and only if I run it from > the directory where the jar files are, and if and only if my command > line looks like > > java -cp netcdfUI-2.2.20.jar:nlog4j-1.2.25.jar ucar.nc2.NCdump > > I.e., it works if and only both jars are specified and colon delimited. > It fails with the same error (a problem finding something that is > obviously present in nlog4j-1.2.25.jar) under any other circumstances. Hmm, that doesn't sound good. Do you have a CLASSPATH environment variable set? Actually, the "-cp" option should take precedence. Earlier I ran it fine from one directory above like this: java -cp tmp/netcdfUI-2.2.20.jar:tmp/nlog4j-1.2.25.jar ucar.nc2.NCdump You should be able to point to any jar in the classpath, absolute or relative paths. Ethan Ticket Details =================== Ticket ID: ECJ-813609 Department: Support netCDF Java Priority: Normal Status: Open