It's not a secret anymore!
The moose likes Distributed Java and the fly likes Stub class not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Stub class not found" Watch "Stub class not found" New topic

Stub class not found

Mir Mohammed Easin

Joined: Mar 07, 2011
Posts: 4
Hi All,
I have RMI server and client program and both are running in my local machine. I'm using JDK1.6 for both program. Without stub class RMI server program is working nicely. But when I put my server program in another machine (different server) which is using JDK1.4 version and when I run my server program I got exception that is stub class (for my remote object class) is not found. So my question is that is it mandatory to create stub class for JDK1.4 version whereas in JDK1.6 I don't need to create stub class and server it's running. Please let me know if this is required to create stub class for JDK1.4 version and give a reference so that I can see also.

I agree. Here's the link:
subject: Stub class not found
It's not a secret anymore!