This content has been marked as final. Show 3 replies
I couldn't ascertain, from your post, what Oracle version you are using. Since Oracle 9i, the "loadjava" command has the "-genmissing" option which overcomes errors that may be caused by the "-resolve" option.
Alternatively, you do not need to use the "-resolve" option when using "loadjava". All loaded classes get resolved eventually, so it doesn't have to be done when loading the class.
And then again, you could also follow your own suggestion: first load classes that have no dependencies (and so can be resolved), then load the other classes -- in order -- depending on their dependencies. Of-course, if you have circular dependencies, you are in trouble -- but the purists will probably tell you that circular dependencies indicate bad design, anyway :-)
For your information, the "Java Developer's Guide" has details on the "loadjava" tool. It is available from:
Oracle version is 184.108.40.206.I think you mean 220.127.116.11, no?
Besides, is it possible to use wildcards withI don't think "loadjava" supports wildcards, but if you are on a linux/UNIX/Mac OS platform (sorry, couldn't ascertain that information from your posts), then the shell may expand the wildcard before launching "loadjava".
loadjava? For example
Did you try it? (I'm too lazy to try it for you ;-)
Classes loaded but not resolved will be resolved atYes. This is detailed in the "Java Developer's Guide" that I referred you to in my previous reply. Have you looked at it?