• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need help

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic