> Simple test, try by specifying absolute paths:
>
> rmic -v1.2 -classpath /some/absolute/path/class -d
> /some/absolute/path/class com.project.services.lib.Hello
Same result, ClassNotFoundException. However, if I change directory to the
"class" directory, and run the following command line it works fine.
rmic -v1.2 -classpath . -d . com.project.service.lib.Hello
I have tried absolute path, relative path, i.e. "./class", and rmic seems not
to use "-classpath' BUT, just on a lark, I tried the following command line
and it works.
CLASSPATH=./class rmic -v1.2 -d class com.project.services.lib.Hello
I assume rmic has a bug with option "-classpath"
Thanks for help, work around found and will be used.
Joseph
Joseph Dionne - 23 Dec 2005 21:14 GMT
>> Simple test, try by specifying absolute paths:
>>
[quoted text clipped - 17 lines]
>
> Joseph
I am using SuSE Linux, and it has someone's third party rmic command, which is
what I was running, not Sun's JDK rmic.
In short, Sun's rmic works as documented.
Sorry for the confusion, and thanks for the help
Joseph