Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI question

 
Albert van Weperen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The code below gives "variable y of class1 is null" instead of "variable y of class1 is FromMyRemoteImpl". Could somebody explain this to me?
Thanks.

 
Vinicius Florentino
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi It is static? remove that and will work. =]
 
Eric Ushie
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just in case there was an oversight, did you start the server before trying to connect to it?
 
Albert van Weperen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reactions.
It is working now.

Bye,
Albert
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic