This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help: can't create stub using rmic

 
Macy
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I 'm trying a simple test for RMI. I can start the server app and run the client app to display some output without the stub.

When I try to create stub using

rmic test.server.RemoteImpl
Error: class test.server.RemoteImpl not Found.

My file structure is:
test.client.Customer
test.client.RMITestClient
test.server.RemoteInterface
test.server.RemoteImpl
test.server.RMIServer

In RemoteImpl:
... ...
import java.rmi.server.UnicastRemoteObject;
... ...
public class RemoteImpl extends UnicastRemoteObject
implements RemoteInterface {
... ...

Is anyone can figure the problem? Is anything missing or I need to configure my system? I'm using Window XP & jdk 1.5.0_05

Thanks a lot!

Macy
 
Macy
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. That's classpath issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic