By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

rmic

P: n/a
Hi, trying to use RMI at home, but rmic is not working. I'll post the
errors below. Thing is, it works fine at work - which suggests there's
nothing wrong with my code.

I haven't got a clue what's wrong. I've downloaded jsdk1.4-2_04, and
the appropriate runtime environment. There's nothing else I need is
there? I'm confident it's an environment problem because it works fine
in other places.

Any help greatly appreciated.

What's particularly odd is the ClassNotFoundException - for an
existing class - SAXParserFactory. I don't understand what's going on
here at all.

Pete.

rmic errors below:

[ctxpjc@Pedro server]$ rmic MessageFactoryImpl
Exception in thread "main" java.lang.InternalError: unexpected
exception during
linking: java.lang.ClassNotFoundException:
javax.xml.parsers.SAXParserFactory
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError( java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.St ring)
(/usr/lib/./libgcj.so.3)
at 0x4025ad82: java.lang.ClassLoader.resolveClass0(java.lang.Clas s)
(/usr/lib/./libgcj.so.3)
at 0x4024646c: java.lang.Class.initializeClass()
(/usr/lib/./libgcj.so.3)
at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x40244d9f: java.lang.Class.forName(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4031bbd7: gnu.java.rmi.rmic.RMIC.findClass()
(/usr/lib/./libgcj.so.3)
at 0x4031b9a9: gnu.java.rmi.rmic.RMIC.analyzeClass(java.lang.Stri ng)
(/usr/lib/./libgcj.so.3)
at 0x4031b6e5: gnu.java.rmi.rmic.RMIC.processClass(java.lang.Stri ng)
(/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 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
at 0x080484f5: ?? (??:0)
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.