Solved

How do I compile RMI using RMIC and packages?

Posted on 1998-02-26
1
605 Views
Last Modified: 2012-05-04
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?

0
Comment
Question by:scampa
1 Comment
 
LVL 1

Accepted Solution

by:
ashishagarwal earned 100 total points
ID: 1233270
Scampa,

I would advise to you read up the Documentation On Java 1.1.x. It gives pretty helpful info on Java and Package name.

in your scenario make sure :

you are in the root directory.. c:\

give the cmd :
rmic rmibook.timeserver.TimeServerImpl2

hope it helps
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now