RMI NetBeans4 and Windows, how run it

R

Rafal\(sxat\)

Hi

How running RMI project in Windows...

I have some files :
RMIClient.class RMIExampleImpl.class
RMIClient.java RMIExampleImpl.java
RMIExample.class RMIExampleImpl_Stub.class
RMIExample.java

on Linuxis all ok, but under windows showing error:

after run it...
java RMIExampleImpl
or java -classpath F:\projekt\server RMIExampleImpl

I have error:

Server: Registering RMIExampleImpl as "TheRMIExample"
Server: Failed to register RMIExampleImpl: java.rmi.ServerException:
RemoteExcep
tion occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
excep
tion is:
java.lang.ClassNotFoundException: RMIExampleImpl_Stub


Rf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,052
Members
48,769
Latest member
Clifft

Latest Threads

Top