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.