My application needs to do some compilation as part of the install process (I know this is bad form, but there it is).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.