aspose file tools*
The moose likes Distributed Java and the fly likes need help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "need help " Watch "need help " New topic
Author

need help

sridevi addagada
Greenhorn

Joined: Sep 22, 2004
Posts: 6
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

Joined: May 03, 2004
Posts: 46
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

Joined: Sep 22, 2004
Posts: 6
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

Joined: Oct 18, 2000
Posts: 4121

What class isn't found? And when are you getting the error message? When trying to run the server or the client portion?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help
 
Similar Threads
Running a RMI Application
HI to all Need help
Applet with RMI ,how to place into Tomcat?
Implemet rmi Client on an Applet
no security manager rmi class loader disabled