Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过 Java 代码运行 RMIregistry?这是可能的还是我只能通过 NetBeans 或 Eclipse IDE 做到这一点?
当然,这里的教程http://docs.oracle.com/javase/tutorial/rmi/index.html
既然我们知道您真正想要什么,请调用 LocateRegistry.createRegistry(),但我真的觉得您可以通过一些研究自己找到它。