Solved

How do I compile RMI using RMIC and packages?

Posted on 1998-02-26
1
644 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

623 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