• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in creating LocalRegistry

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a problem with RMI. i was trying to create registry using
new InitialContext().rebind("Server",Serverobj);
Iam getting compilation errors
suncertify\server\Serverclass.java:15: Package javax.naming not found in import.
import javax.naming.*;
^
1 error
Iam i missing something ?
 
That new kid is a freak. Show him this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!