Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help

 
sridevi addagada
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi thanks for tht information , i have started to implement the Hello program using RMI , i have implemented the server , the client and compiled the client and server and i have used the rmic compiler to generate the remote stub now my problem is after starting the RMI registry i didn't get how to proceed futher ie wht to do next do i need to set the classpath and how to do abt it i am working on solaris machine jdk1.4 version so i need help regarding how to proceed further ? i need to finish my project .
i am trying out the hello example given in the sun tutorial

http://java.sun.com/docs/books/tutorial/rmi/designing.html

i need help badly for running the example , i have compiled it

i would be thankfull if anyone could help me out

awaiting for reply badly
sri.
[ July 22, 2006: Message edited by: sridevi addagada ]
 
satish sathineni
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sridevi!!

I think u have done most of the work ...

u do following things ::

a. Run the RmiServer example program in one terminal window(Linux)/ (Solaris )
java <name of the server program>

b. Run the Rmiclient example program in one terminal window(Linux)/ (Solaris )
java <name of the server program>

I think this should show u r first Hello world RMI example...

regards
satish
 
sridevi addagada
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thanks for replying but i am not able to run the server example i am getting the following example

java.lang.NoClassDefFoundError:

i think i need to set my classpath and i am having problem regarding it can any one help me out

bye bye
thanks
sri
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What class isn't found? And when are you getting the error message? When trying to run the server or the client portion?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic