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: Problems with VerySimple example

Hi Gianluca,

If you've put images.nc in c:\jdk1.3.0_01\visad\examples\
then make sure that is the current directory when you run
'java VerySimple.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


On Sun, 18 Feb 2001, Gianluca wrote:

> Hi ! I'm a new user of VisAD.
>  I've installed Java 2 SDK, Standard Edition, v 1.3.0_01 on my Windows 
> Millennium, and i've added the files of java3d1_1_3-win-opengl-sdk in the 
> same directory of jdk1.3.0_01. Finally i've unpacked the visad class files in 
> c:\jdk1.3.0_01\
> 
> c:\jdk1.3.0_01 (and j3d1_1_3)
> |
> ---------------------------------------------------------------------------------------------------------------------------
>                                                              |            |   
>           |              |            |            |          |          |    
>      |          |            |
>                                                            bin           |    
>         |              |            jre          |          |          |      
>    |         lib          |   
>                                                                           |   
>           |              |                        |           |          |    
>     |                       |
>                                                                       
> visad.jar    |              |                        |           |          | 
>         |                      |
>                                                                               
>      META-INF    |                         |          |           |         | 
>                      |
>                                                                               
>                          |                   VISAD      |        EDU      |   
>                    | 
>                                                                               
>                       NCSA                             IJ                  
> NOM              UCAR            
> 
> 
> I've also installed Forte (TM) for Java (TM) , release 2.0, Community Edition 
>  in c:\forte4j and i've added the visad.jar in the directory 
> c:\forte4j\lib\ext\
> 
> Until here all ok ...... it compile and run correctly the demo (P1_01.java, 
> P2_01.java)  i find in the VisAD Tutorial, and the SimpleImage.class . But 
> when I try to execute the VerySimple.class it give me this error:   
> -----------------------------------------------------------------------------------------------------------------
> java.io.FileNotFoundException: images.nc
> 
> at ucar.netcdf.RandomAccessFile.<init>(RandomAccessFile.java:249)
> 
> at ucar.netcdf.RandomAccessFile.<init>(RandomAccessFile.java:162)
> 
> at ucar.netcdf.RandomAccessFile.<init>(RandomAccessFile.java:199)
> 
> at ucar.netcdf.NetcdfFile.<init>(NetcdfFile.java:129)
> 
> at ucar.netcdf.NetcdfFile.<init>(NetcdfFile.java:146)
> 
> at visad.data.netcdf.Plain.open(Plain.java:152)
> 
> at VerySimple.main(VerySimple.java:21)
> 
> ---------------------------------------------------------------------------------------------------------------------
> 
> but I've just added the file images.nc in the directory 
> c:\jdk1.3.0_01\visad\examples\
> 
> Can someone tell me what I'm doing wrong? Thanks. 
> 
> 
> 
> Gianluca Licenziato       mailto: gianlucky@xxxxxxxxx
> 
> Istituto Universitario Navale
> 
> Napoli, Italy
> 
> 


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