• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with RMI on linux machine  RSS feed

Harish Tiruvile
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me why i am getting this error when i try to create stub and skeleton using rmic command(on linux machine),same command is working fine on windows machine.So i want to know is there any other prodcedure to create skeleton & stub for Linux machine.

Here i am pasting a copy of Error which i received while trying to extecute RMIC command on linux machine

rmic RmtServer
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/./libg
at 0x4025ec67: java.lang.NullPointerException.NullPointerException() (/usr/li
at 0x4021b627: _Jv_ThrowNullPointerException (/usr/lib/./libgcj.so.3)
at 0x403202cb: ?? (??:0)
at 0x4031c817: gnu.java.rmi.rmic.RMIC.generateStub() (/usr/lib/./libgcj.so.3)
at 0x4031b6ed: gnu.java.rmi.rmic.RMIC.processClass(java.lang.String) (/usr/li
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/./li
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/./libgcj.so.
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, bool
ean) (/usr/lib/./libgcj.so.3)
at 0x4021c9cd: JvRunMain (/usr/lib/./libgcj.so.3)
at 0x080485a8: ?? (??:0)
at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
at 0x080484f5: ?? (??:0)
[ October 10, 2006: Message edited by: harish thrivile ]
Ernest Friedman-Hill
author and iconoclast
Posts: 24217
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not using the Sun JDK; you're using the GNU Java stuff which, although it's an admirable piece of work, is neither complete nor particularly robust.

Download and install the Sun JDK for Linux, make sure it comes first on your path, and then try again.

I'm going to move this to our Linux/UNIX forum, as I suspect there will be followup questions. C'mon over and ask them.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!