D
daniel.w.gelder
Hi,
I have a Java application that creates a temp file, calls
sun.tools.javac.Main, and executes the class.
The class that it executes makes reference to some classes in the
application. Everything is fine.
Now I'm trying to do the same in a signed applet. I can invoke the
compiler, however I can't get it to notice the classes in the jar since
it doesn't have the class files. Can I point the compiler towards the
jar that it is being executed from?? Can javac even compile against a
jar or does it need .class files?
Thank you in advance for help on this complicated question.
Dan
I have a Java application that creates a temp file, calls
sun.tools.javac.Main, and executes the class.
The class that it executes makes reference to some classes in the
application. Everything is fine.
Now I'm trying to do the same in a signed applet. I can invoke the
compiler, however I can't get it to notice the classes in the jar since
it doesn't have the class files. Can I point the compiler towards the
jar that it is being executed from?? Can javac even compile against a
jar or does it need .class files?
Thank you in advance for help on this complicated question.
Dan