Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I compile RMI using RMIC and packages?

Posted on 1998-02-26
1
Medium Priority
?
654 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 300 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

886 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