[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Using rmic

Posted on 2002-05-10
3
Medium Priority
?
242 Views
Last Modified: 2010-03-31
Hi, guys.
We are stucked because we have to use RMI and when we use rmic to generate the stub and skeleton thing, we get an error message: "error: Classs test/testRmi.class not found"

We have the following structure:

package test;

public class testRmi {
   // bla, bla, bla
}

So, testRmi extends java.rmi.server.UnicastRemoteObject and does all the stuff required to be an rmi server.

When we compile testRmi, the class is generated in:
d:\projects\test

Then we go to d:\projects and run:

rmic test\testRmi.class

And the error message stated above appears.

We will appreciate your help.
0
Comment
Question by:pgiusto
[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
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 400 total points
ID: 7001612
 The rmic is used to generate stubs and skeletons for remote objects. If your classes have been successfulyl compield with javac then in order to run them with rmic you have to give the fully qualified name separated by "." (dots). So in your case this would be: rmic test.testRmi

  Hope it helps.
0
 

Author Comment

by:pgiusto
ID: 7001635
OK. It works !!!
We think we need vacations. We are working too much.
Obviously we have to use dots, not slashes.

Thanks a lot to open our eyes.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7001639
 It's happened to everybody. I am glad I helped. Thank you for the points :-)
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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

650 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