CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    1

    Question clint-server java \\chat

    Hi,All!
    When i develop a RMI server,i use
    import java.rmi.server.UnicastRemoteServer;
    import java.rmi.server.StubSecurityManager;

    import chat.server.*;


    but when i compile the java file,it occur an error,it said
    Class java.rmi.server.UnicastRemoteServer not found in import.
    import java.rmi.server.UnicastRemoteServer
    and also error with StubSecurityManager
    also it said

    pls help me work out this problem
    thanks a lot

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: clint-server java \\chat

    Do you get the error when you run the jar file or when you compile the code?

    Please show the actual error messages you are getting.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured