This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes error importing java.rmi.Registry and Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "error importing java.rmi.Registry and Server" Watch "error importing java.rmi.Registry and Server" New topic
Author

error importing java.rmi.Registry and Server

C.B. Bakshi
Greenhorn

Joined: Oct 04, 2003
Posts: 3
i am getting an error "can't import java.rmi.Registry and java.rmi.Server" package when i compile the program
also the error is coming on the UnicastRemoteObject class
please reply
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

java.rmi.Server and java.rmi.Registry are not class files. If you are trying to import both packages, try:
import java.rmi.server.*;
import java.rmi.Registry.*;


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error importing java.rmi.Registry and Server
 
Similar Threads
Problem while starting rmi server
java.rmi.UnmarshalException: error unmarshalling return USING NetBeans
RMI security issue in websphere
RMI Registry location
Very New to RMI - Help plz - question on NotBoundException