Re: RMIC Compile Problem

If you're running redhat, the gcj package (libgcj) installs by default, 
giving you /usr/bin/rmic and /usr/bin/rmiregistry.  I found that the 
rmiregistry didn't work with the stubs compiled with the version of java I 
have - so I wouldn't be surprised if rmic choked on the visad rmi 
routines.

Either uninstall libgcj, or put your java/bin directory into your PATH 
environment variable _before_ /usr/bin

Hope this helps...

Cheers,
Chris

__________________________________________________________________
Christopher Moore                email: Christopher.Moore@xxxxxxxx
Research Scientist, Oceanography                 tel: 206.526.6779
University of Washington/JISAO/NOAA-PMEL         fax: 206.526.6744
------------------------------------------------------------------

On Wed, 29 Oct 2003, Kevin Manross wrote:

> 
> Greetings,
> 
> I downloaded the latest VisAD version (post 02/25/03) and tried to 
> install it.  I had significant problems with the RMIC copiling.  I 
> received multiple errors such as the one below.
> 
> Has anyone else rn into this?
> 
> Thank you!
> 
> -kevin.
> 
> ######################################################
> 
> kmanross@lubbock /VisAD]: rmic visad.RemoteActionImpl
> java.lang.NullPointerException
>     at 0x40268de4: java.lang.Throwable.Throwable() (/usr/lib/./libgcj.so.3)
>     at 0x4025bcaf: java.lang.Exception.Exception() (/usr/lib/./libgcj.so.3)
>     at 0x4025f56f: java.lang.RuntimeException.RuntimeException() 
> (/usr/lib/./libgcj.so.3)
>     at 0x4025ec67: java.lang.NullPointerException.NullPointerException() 
> (/usr/lib/./libgcj.so.3)
>     at 0x4021b627: _Jv_ThrowNullPointerException (/usr/lib/./libgcj.so.3)
>     at 0x40320395: 
> gnu.java.rmi.rmic.RMIC.sortExceptions(java.lang.Class[]) 
> (/usr/lib/./libgcj.so.3)
>     at 0x4031c62b: gnu.java.rmi.rmic.RMIC.generateStub() 
> (/usr/lib/./libgcj.so.3)
>     at 0x4031b6ed: gnu.java.rmi.rmic.RMIC.processClass(java.lang.String) 
> (/usr/lib/./libgcj.so.3)
>     at 0x4031b644: gnu.java.rmi.rmic.RMIC.run() (/usr/lib/./libgcj.so.3)
>     at 0x4031b507: gnu.java.rmi.rmic.RMIC.main(java.lang.String[]) 
> (/usr/lib/./libgcj.so.3)
>     at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main() 
> (/usr/lib/./libgcj.so.3)
>     at 0x402ad02d: gnu.gcj.runtime.FirstThread.run() 
> (/usr/lib/./libgcj.so.3)
>     at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
>     at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte 
> const, boolean) (/usr/lib/./libgcj.so.3)
>     at 0x4021c9cd: JvRunMain (/usr/lib/./libgcj.so.3)
>     at 0x080485a8: ?? (??:0)
>     at 0x420156a4: __libc_start_main (/lib/tls/libc.so.6)
>     at 0x080484f5: ?? (??:0)
> 
> ######################################################################
> 
> -- 
> +------------------------------------------------------------+
> Kevin L. Manross      [KD5MYD]               (405)-366-0557
> CIMMS Research Associate               kevin.manross@xxxxxxxx
> [NSSL-WRDD/SWATN]         http://www.cimms.ou.edu/~kmanross
> 
> "My opinions are my own and not representative of CIMMS, NSSL,
>   NOAA or any affiliates"
> +------------------------------------------------------------+
> 
>