Re: [netcdf-java] toolUI.jar error

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 command

java -classpath toolsUI-4.2.jar ucar.nc2.FileWriter -in KBOX/KBOX_SDUS81_DPABOX_200907072247 -out radar.out

I get the error

Exception in thread "main" java.lang.NoClassDefFoundError: ucar.nc2.FileWriter
   at 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



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: