Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

rmic Compiling issues.

843810Nov 21 2005 — edited Dec 6 2005
I have been having multiple issues trying to compile stubs/skeletons using the rmic command on a program that I wrote under both Windows 98 and XP, both with java 1.5.

To simplify things, I tried using a HelloWorld example from the internet as well, but to no avail. I am generally confused about the topic, having found several of the tutorials vague on the topic of making stubs.

To simplify things, I'll describe my problem with the HelloWorld program. I all server files in the Java/bin directory with rmic.exe , and changed the directory to that.
rmic Hello  , rmic Hello.java, rmic Hello.class 
all produce a class not found.

I set classpath to the /java/bin directory and retried, that produced no change.

I have tried using JCreator's rmi function, but that doesn�t seem to produce results. It seems that the command gets truncated when the program does it.

Lastly, i tried
rmic "C:\program Files\...\bin\Hello"  
and variants of that. It simply produces an exception in the rmic.

If anybody can give me a simple solution, I would appreciate it.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2006
Added on Nov 21 2005
3 comments
112 views