File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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