Hi
I have JDK1.3 installed in Windows NT4.0 with Service Pack.
I am trying to compile a small RMI code I have three files in
d:\xml
1. IHelloRmi.java // This is the remote inteface.
2. HelloRmi.java // This is the implementation
3. HelloRmiClient.java // This is the client
All files have "package rmi" statement at top.
I compiled em succesfully. Now I want to create a stub.
I give following commands
d:\xml> rmic rmi.HelloRmi
d:\xml\rmi> rmic rmi.HelloRmi
but it gives following error
Exception in
thread "main" java.lang.NoClassDefFoundError: sun/tools/java/Constants
at java.lang.ClassLoader.defineClass0(native method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
etc.....
Any help will be appreciated