Robert Moskal
Robert Moskal

Reputation: 22553

Can I bundle a complete jdk with my install4j installation?

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

Answers (1)

Ingo Kegel
Ingo Kegel

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

Related Questions