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

Re: Problem installing ncBrowse on a linux Redhat Enterprise system (64- bit platform)



John,
On Linux RedHat Enterprise  2.6.9-42.0.8 x86_64 with JavaVM 1.5.0_06-b05.  ncBrowse installed without error.  I downloaded ncBrowse_1_6_3.bin from the "Linux" link at ftp://ftp.epic.noaa.gov/java/ncBrowse/index.html

I'm curious about gcj and its actual compatibility to java.  I would suggest that you install the latest java VM 1.5.0 or 1.6.0 and try again.

Don


On May 8, 2007, at 4:17 PM, Filipkowski, John D wrote:

 
Good afternoon,
 
I have the following system:
 
Linux RedHat Enterprise version 4 update 3
Kernel: 2.6.9-34.ELsmp     x86_64 --- 64 bit platform
 
Java VM:
/usr/lib/jvm/jre-1.4.2-gcj
 
/usr/bin/java       link to   /etc/alternatives/java    link to   /usr/lib/jvm/jre-1.4.2-gcj/bin/java
 
"java -version" returns:
 
java version "1.4.2"
gcj (GCC) 3.5.5  20051201  (Red Hat 3.4.5-2)
.... other output omitted here
 
I downloaded ncBrowse for Linux, version 1.6.2, in BINARY mode
 
(I edited the code to NOT exit if the unpacked archive file sizes do not match those listed in the script)
 
Running   ./.ncBrowse_1_6_2.bin returns
 
Preparing to install...
 
Extracting the installation resources from the installer archive...
The size of the extracted files to be installed are corrupted. Please
try to download.... other output omitted here...
 
Launching installer
 
Warning: -Xmx50331648 not understood. Ignoring
Warning: -Xms16777216 not understood. Ingnoring
 
Exception in thread "main" java.lang.NoClassDefFoundError: com.zerog.lax.LAX
   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, booean) (/usr/lib64/libgcj.so.5.0.0)
 
  at _gcj_personality_v0 (/tmp/install.dir.7741/java.version=1.4.2)
  at  __libc_start_main (/lib64/tls/libc-2.3.4.so)
  at  __Jv_RegisterClasses (/tmp/install.dir.7741/java_version-1.4.2)
 
 
Is the error in trying to install the code on a 64-bit platform?  What do you suggest I do?
 
I also tried downloading the jar files   ncBrowse.jar  visad.jar   noaa_pmel.jar  netcdfAll.jar    dods.jar
png.jar    lashandler.jar, and placed them in /usr/local/jar
 
I wrote the following script  "ncBrowse"
 
#!/bin/sh
#
JAVA_HOME=/usr/lib/jvm/jre-1.4.2-gcj
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"
 
gij --classpath $classpath  ncBrowse.Browser $1
 
 
Running
 
./ncBrowse   <netcdf file>
 
returns
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
.... other output omitted here...
 
Any suggestions?
 
Cheers,
 
 
 
 

 
Cheers,
 



Privacy Notice, External Links Disclaimer.