This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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