File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes SOS:differences of implementation of RMIC in Windows & Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "SOS:differences of implementation of RMIC in Windows & Linux" Watch "SOS:differences of implementation of RMIC in Windows & Linux" New topic

SOS:differences of implementation of RMIC in Windows & Linux

chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
hi all,
I would appreciate it very much if someone could tell me why my code compiles with RMIC on windows, but throws exceptions in Linux. Could someone tell me why this is so.
at 0x40268de4: java.lang.Throwable.Throwable() (/usr/lib/./
at 0x4025bcaf: java.lang.Exception.Exception() (/usr/lib/./
at 0x4025f56f: java.lang.RuntimeException.RuntimeException() (/usr/lib/./
at 0x4025ec67: java.lang.NullPointerException.NullPointerException() (/usr/lib/./
at 0x4021b627: _Jv_ThrowNullPointerException (/usr/lib/./
at 0x403202cb: ?? (??:0)
at 0x4031c817: (/usr/lib/./
at 0x4031b6ed: (/usr/lib/./
at 0x4031b644: (/usr/lib/./
at 0x4031b507:[]) (/usr/lib/./
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/./
at 0x402ad02d: (/usr/lib/./
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./
at 0x4021c9cd: JvRunMain (/usr/lib/./
at 0x080485a8: ?? (??:0)
at 0x42015574: __libc_start_main (/lib/tls/
at 0x080484f5: ?? (??:0)
Thanks & Regards,
Vinod Chandana
Ranch Hand

Joined: Aug 26, 2003
Posts: 59
hi chandana,
I think the versions used are different. I think u r using the linux version of rmic. Try using the current version.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Yes, you're using GNU "gcj" Java compiler implementation, rather than Sun's JDK. Download the JDK, install it, and update your path to point to the JDK before it points to /usr/bin or wherever gcj is installed.

[Jess in Action][AskingGoodQuestions]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: SOS:differences of implementation of RMIC in Windows & Linux
It's not a secret anymore!