Hi there,

This is a little bit off-topic -- sorry for the intrusion. 

I am running some RMI applications on a machine which doesn't have
the necessary classes installed -- the RMI class loader runs out
and grabs the ones that are needed, using the codebase property.
That works great.

I like that so much, I wonder if I can get javac to do sort of the
same thing. What I want is to name a class in a program I am developing
on the class-less machine and somehow let javac know that I mean a
class on another machine. That would be very convenient for
development. I would really rather not mirror the class files.

javac doesn't seem to notice codebase. Is there some way I can get the
effect I want -- which is essentially to put the codebase in the
classpath, so to speak. 

I wonder if I will have to obtain the javac source and hack it to
use RMIClassloader.loadClass instead of Class.newInstance or something
like that. I guess I'm assuming that Class.newInstance ignores 
the codebase -- maybe I should hack Class.newInstance instead??


Thanks for any ideas you might have.
Robert Dodier

Reply via email to