Link to home
Start Free TrialLog in
Avatar of scampa
scampa

asked on

How do I compile RMI using RMIC and packages?

I seem to be having a problem when it comes to compiling with rmic.

I have a directory :    sal\rmibook\timeserver\

I have a file in the folder timeserver called TimeServerImpl2.class which I
want to generate stubs and skeletons for.  This class is part of a package
(which it imports)
rmibook.timeserver

I cannot figure out how to compile my stubs.  I am working in NT and am
using JDK 1.1.2  --- I know it has something to do with the package stuff,
because I have been able to rmic things that do not import packages.

The errors seem to be that it can't find the file or it can't find the file
of type rmibook.timeserver.TimeServerImpl2.class

Please help!  Should I compile from a certain directory because it has a
package import?

ASKER CERTIFIED SOLUTION
Avatar of ashishagarwal
ashishagarwal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial