Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

need help

 
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 ]
 
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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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?
 
Don't MAKE me come back there with this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic