[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #TOB-380274]: netcdfAll-4.6.8.jar



Cliff,

There are basically two ways you can use the netCDF-Java jar file you have 
downloaded. 1) as a java library, and 2) as a set of command line utilities.

If a user is wanting to use the netCDF-Java library, all you need to do is put 
the jar in a location known to the user, and that's it. When the user compiles 
their java code making use of netCDF-Java, they will simply point the java 
compiler towards the jar file. For example:

javac -cp /usr/local/src/netcdfAll-4.6.8.jar MyJavaProgram.java

and then, when they run their compiled code, they will do something like 
(assuming they are in the directory where they compiled their code):

java -cp .:/usr/local/src/netcdfAll-4.6.8.jar MyJavaProgram

There are also several command line utilities stored inside the jar file, along 
side the library files, which can be used following the instructions on the 
page I sent you. The default command line tool is NCdumpW, which is why you got 
the usage string when your ran the jar file using java -jar. Given that you did 
get the usage string, your version of java should be able to use the 
netCDF-Java library jar file that we ship.

In each case, as long as the jar file is in a directory that users know, they 
will be able to use netCDF-Java.

Cheers,
Christian

Ticket Details
===================
Ticket ID: TOB-380274
Department: Support netCDF Java
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.