compiling an RMI server application
Robert Lebowitz
lebowitz@finaltouch.com
Wed May 26 09:51:00 GMT 1999
I just downloaded the RedHat snapshot of the
egcs 1.1.2 compiler to see whether it would be possible to create a native code
executable of an RMI application that I've developed.ÃÂ I have two questions
regarding the use of class libraries that hopefully someone can
answer:
ÃÂ
1.ÃÂ I haven't spent a lot of time looking
at the Sun license for use of their java class libraries.ÃÂ I'm guessing
that the reason that you're developing your own version of classes.zip has to do
with some licensing/distribution restriction that Sun imposes.ÃÂ However,
because you indicate that your compiler can take a class file and produce an
object from it, shouldn't it be possible to use the Sun classes (licensing
issues aside?).
ÃÂ
2.ÃÂ I'm a little confused as to how to use
the -I and --CLASSPATH commandline options.ÃÂ For my own purposes, I decided
to override the default classpath by specifying my own using --CLASSPATH, making
sure to include gcjlib.zip.ÃÂ
ÃÂ
3.ÃÂ Should I be attempting to compile (but
not link) the .class files I store in my jar files so that they can be properly
linked to the class containing a static main method when I'm trying to construct
an executable???ÃÂ What is the appropriate way to do this?
ÃÂ
Sorry to be so ignorant...
ÃÂ
Rob
ÃÂ
ÃÂ
More information about the Java
mailing list