Please help me in removing this bug
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   gopal_krishna
Posted On:   Friday, February 23, 2007 01:43 AM

I am following jguru's RMI tutorials... In that i am trying Bootstrap example... I followed all the steps given in that. While compiling there is no errors.But while executing RMIClient it is giving some error... C:Program FilesJavajdk1.5.0_03 inexamplesBootstrapRMIClient>java -Djava.r mi.server.codebase=http://localhost:2002/ examples.RMIClientLoader http://localhost:2002/ Asking for: http://localhost:2002/ and RMIClient RMIClientLoader, class not found: java.lang.ClassNotFoundException: access to cl ass loader denied Please help me in removing this error ...    More>>

I am following jguru's RMI tutorials...
In that i am trying Bootstrap example...
I followed all the steps given in that.
While compiling there is no errors.But while executing RMIClient it is giving some error...


C:Program FilesJavajdk1.5.0_03 inexamplesBootstrapRMIClient>java -Djava.r
mi.server.codebase=http://localhost:2002/ examples.RMIClientLoader
http://localhost:2002/
Asking for: http://localhost:2002/ and RMIClient
RMIClientLoader, class not found: java.lang.ClassNotFoundException: access to cl
ass loader denied


Please help me in removing this error ...

   <<Less

Re: Please help me in removing this bug

Posted By:   Anonymous  
Posted On:   Friday, February 23, 2007 05:38 AM

try to set the classpath like this

SET CLASSPATH=.;c:Program Files/java/jdk1.5.0_03/lib;c:Program Files/java/jdk1.5.0._03/jre/lib;


this my fix your issue.

replace the folder name sequence according to your folder structure.


ex: c:yourFullPathUptoLibFolder
About | Sitemap | Contact