Re: Want to compile a java class within another java class dynamically
Posted By:
Kumaran_N
Posted On:
Thursday, April 4, 2002 08:01 AM
This could be a tedious approach.
1. Write the Java class into a file with .java
2. Run a Javac process using the java.lang.Runtime.
This is obviously not the best solution, but will work.
Kumaran