Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Daniel Gombos wrote:
Hi John,I am trying to convert a nexrad level III file to a netcdf file using the toolUI-4.2.jar utility. Using the commandjava -classpath toolsUI-4.2.jar ucar.nc2.FileWriter -in KBOX/KBOX_SDUS81_DPABOX_200907072247 -out radar.outI get the errorException in thread "main" java.lang.NoClassDefFoundError: ucar.nc2.FileWriterat gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0) at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib64/libgcj.so.5.0.0) at __gcj_personality_v0 (/project_vs/project/p1474/hail/java.version=1.4.2)at __libc_start_main (/lib64/tls/libc-2.3.4.so)at _Jv_RegisterClasses (/project_vs/project/p1474/hail/java.version=1.4.2)Any idea how I can get this work? Thanks for your help, Dan Gombos
Hi Dan: This is working ok for me using sun java. double check that "-classpath toolsUI-4.2.jar" is correct, ie that you are in the same dir as toolsUI-4.2.jar. otherwise, i guess that its a problem with gcj. John
netcdf-java
archives: