error in rmi server on linux machine
1 posts in topic
Flat View  Flat View

Posted By:   devendra_saykhedkar
Posted On:   Sunday, May 20, 2001 03:03 AM

i have follwed following steps to run rmi server on linux machine
1.compiled all server classes on linux machine
2. run rmic command to generate stubs and skeleton for server class
3.executed rmiregistry command
4.run the server class through java command
but i am getting error
noclassdeffound for server stub

please help

Re: error in rmi server on linux machine

Posted By:   Edward_Harned  
Posted On:   Monday, May 21, 2001 12:04 PM

Set the CLASSPATH to the directory where your classes reside. This is an env command either in the profile used at start up or the setenv command. If your classes are in a package, then make sure the CLASSPATH points to the top of the package, i.e. CLASSPATH=/usr/local/mystuff where the class files are in a package com.mycomp and in the directory /usr/local/mystuff/com/mycomp
About | Sitemap | Contact