Solved

RMIC compile error- class * not found

Posted on 1998-09-21
2
3,993 Views
Last Modified: 2010-05-18
When trying to compile my class with the RMI compiler into stubs and skeletons, I am getting the message "error: Class examples.hello.Hello not found" even though I am running the rmic.exe from the directory where the class is located... I have no idea what this problem could be???  I have tried fooling around with the CLASSPATH var and the RMIC options, but to no avail- any ideas please?
0
Comment
Question by:2djohn
[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 Comments
 
LVL 8

Accepted Solution

by:
diakov earned 100 total points
ID: 1224711
It seems, your class is defined within the package examples.hello or you haven't 'import'-ed some package you need.
In java packages reside in directories, relative to the directory you compile. In your case, put all files from this package in a directory examples\hello, then run the compiler from the directory where the 'examples' is a subdirectory, providing good path name for the file you're compiling.

Cheers.
0
 
LVL 1

Expert Comment

by:sirigere
ID: 1224712
import package java.rmi.server.*
that will solve u'r problem..that's why u'r server was not generating the stub and the skeleton


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java example issue 5 42
Tagging and Merging on Branch 1 39
jsp CRUD operations with and without prepared statement also hibernatge 1 27
import as existing maven project 3 34
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.

735 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