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

[netCDFJava #LEA-289229]: compiling an example java file


  • Subject: [netCDFJava #LEA-289229]: compiling an example java file
  • Date: Mon, 09 Nov 2009 12:54:56 -0700

Larry,

The classpath needs to be set for the compilation and running of 
Simple_xy_rd.java

For the csh shell

% setenv CLASSPATH ".:<location of>/netcdfAll-4.1.jar"

for sh
% CLASSPATH=.:<location of>/netcdfAll-4.1.jar

expand <location of> to be the absolute path of the netcdfAll-4.1.jar on your 
system

compile

% javac Simple_xy_rd.java

run

% java -Xmx256m Simple_xy_rd

Robb...



Ticket Details
===================
Ticket ID: LEA-289229
Department: Support netCDF Java
Priority: Normal
Status: Open