[netcdf-java] please help for geotiffwriter

zitian guo zi_guo at yahoo.com
Wed Oct 17 09:05:47 MDT 2007


hello,

I have a question on geotiff,  Please help.

I compile codes, using

 Javac  -classpath /usr/share/netcdfUI-2.2.22.jar  
test.java Exception in thread "main" 

The compilation seems to be OK.  But when I run I got
error message:


“Exception in thread "main"
java.lang.NoClassDefFoundError:
ucar/nc2/geotiff/GeotiffWriter”

If I run, using “java –classpath
/usr/share/netcdfUI-2.2.22.jar test

I got error message like: 
 
““Exception in thread "main"
java.lang.NoClassDefFoundError: test”

Any suggestions are greatly appreciated.

I use intel linux box. The code are from internet as
the attechment.


Zitian

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1.java
Type: text/x-java
Size: 466 bytes
Desc: 3594648231-t1.java
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdf-java/attachments/20071017/90c6e173/attachment.bin 


More information about the netcdf-java mailing list