Reputation: 22553
My application needs to do some compilation as part of the install process (I know this is bad form, but there it is).
Upvotes: 3
Views: 531
Reputation: 48070
For compiling, I would simply add lib/tools.jar from the JDK to the distribution tree and add it to the classpath of the launcher. Then you can programatically compile classes.
A more lightweight solution would be to use janino.
Upvotes: 2