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.

Re: Netcdf for Java


SatyaPriya Takkallapally wrote:
> 
> Hi,
> 
> I am trying to develop a Java Applet which will read and display the
> values from a Netcdf file.But when I try to run the applet I get the
> following error.
> 
> java.lang.NoClassDefFoundError: ucar/multiarray/Accessor
>         at BiomapApplet.init(BiomapApplet.java:48)
>         at sun.applet.AppletPanel.run(Compiled Code)
>         at java.lang.Thread.run(Thread.java:485)
> .
> I have set the classpath and the program for reading the Netcdf file works
> fine if I try to run it as a stand alone application. I get this problem
> only when I use the applet to read the Netcdf file.
> 
> Can anybody please tell me where I am going wrong.
> 
> Thanks,
> Satya

The problem is that your browser does not have the netcdf jar file in
its classpath. You might want to work through the tutorial, esp on
applets:

http://java.sun.com/docs/books/tutorial/index.html


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