[Date Prev][Date Next][Index][Thread] [ncBrowse Mail Archive] [ncBrowse Main Page]

FW: Problem running ncBrowse on a linux Redhat Enterprise system (64- bit platform)




 
Good afternoon,
 
I recently sent a e-mail listing a problem installing ncBrowse on a linux RedHat Enterprise system (64-bit platform).
 
I think the problem I had at the time was that I did not have Sun Java software installed, only the GNU "gcj", "gij" software.
 
I installed the Sun Java JRE 1.6.0 JVM (for 64-bit platforms), and I used the script listed below to launch ncBrowse:

 
#!/bin/sh
#
JAVA_HOME=/usr/ java/jre1.6.0_01 
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
 
classpath="/usr/local/jar/ncBrowse.jar:\
/usr/local/jar/visad.jar:/usr/local/jar/noaa_pmel.jar:\
/usr/local/jar/netcdfAll.jar:/usr/local/jar/dods.jar:\
/usr/local/jar/png.jar:/usr/local/jar/lashandler.jar"
 
 java  --classpath $classpath  ncBrowse.Browser $1
 
 
Running
 
./ncBrowse   <netcdf file>
 
launches ncBrowse, but trying to graph variables in the NetCDF file returns
Exception in thread "Thread-3"
java.lang.NoSuchMethodError:
ucar.multiarray.MultiArray.getStorage()Ljava/lang/Object;
        at ucar.nc2.Variable.read(Variable.java:200)
        at
ncBrowse.SelectionRange.getDoubleArray(Unknown Source)
        at
ncBrowse.SelectionRange.makeSimpleLine(Unknown Source)
        at
ncBrowse.SelectionRange.getDataModel(Unknown Source)
        at ncBrowse.VariableGraph.run(Unknown Source)
 
This error was reported by another user, back in 24 Oct 2006, and I think the source of the error is something minor, e.g., PATH/CLASSPATH/LD_LIBRARY_PATH not set properly.
 
Any suggestions?
 
Cheers,
 
 
 


Privacy Notice, External Links Disclaimer.