RMI NetBeans4 and Windows, how run it

Discussion in 'Java' started by Rafal\(sxat\), Sep 9, 2009.

  1. 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
    Rafal\(sxat\), Sep 9, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andoni
    Replies:
    0
    Views:
    320
    Andoni
    Apr 26, 2004
  2. Buu Nguyen

    RMI, JINI or RMI/IIOP

    Buu Nguyen, Aug 25, 2004, in forum: Java
    Replies:
    1
    Views:
    551
    Sudsy
    Aug 25, 2004
  3. JScoobyCed

    RMI Vs RMI over IIOP

    JScoobyCed, Jan 28, 2005, in forum: Java
    Replies:
    1
    Views:
    722
    Dag Sunde
    Jan 28, 2005
  4. Jan Schulze
    Replies:
    1
    Views:
    558
    Esmond Pitt
    Mar 26, 2005
  5. google 24/7
    Replies:
    0
    Views:
    383
    google 24/7
    Feb 18, 2006
Loading...

Share This Page