RMIRegistry and -J option to pass a class path
843793Apr 16 2004 — edited Apr 23 2004Morning All,
I'm wondering if you guys can help me. Me and Java are having a falling about JVM parameters, esp the CLASSPATH (me and Java have a long and boring history, suffice is to say Java has been seconds a away from a DELTREE command many many many times.........)
I've a RMI system that I've built using JBuilder X Foundation (JBuilder X is sooooooooo sweet, if you haven't looked at it you should, it has soo many nice USABLE features....) but the RMIRegistry isn't passed a classpath so it fails to load my stub class (how many hours did I waste trying to work that one out.... sigh)
I know you can pass rmiregistry JVM options (via -J switch), and this is what I'm trying to do rather than running rmiregistry from cmd in the dir with the stub.
I'm executing this statement:
rmiregistry -Jclasspath "D:\WINDOWS_XP(HOME)_LOCAL_PATH\ACCOUNT\jbproject\JB_PROJECT_NAME\classes" 1099
The JVM is bouncing this command saying it can't find the Main Class.
Can anyone see how I'm being dum this time? If possible post the rmiregistry command you know to work!!
Cheers.......