The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Make sure classpath is set

Posted by Amit Dubey on August 02, 2001 at 4:20 PM

> I am rather new in RMI. I was unable to generate the skeleton. I have copy the source code from a book into the JDK1.2.2 bean, I use the MS-dos to compile using the following command:
> rmic -1.2 . The error msg is that the class file is not found.

> Is my compilation correct or is there any other way to generate the stub and skeleton class.
>


I am not sure what is the name of your java program.
rmic works this way:
suppose name of ur java program is test.java
and package is TEST
you have to compile test.java with javac
and then make sure classpath is set properly and
just use rmic TEST.test
that should work



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us