jsr199 Questions
3
Solved
I use the class javax.tools.JavaCompiler (jdk6) to compile a source file, but the source file depends on some jar file. How to set the classpath of the javax.tools.JavaCompiler?
Anne asked 14/10, 2009 at 2:4
3
Solved
So I recently learned of the new JavaCompiler API available in JDK 1.6. This makes it very simple to compile a String to a .class file directly from running code:
String className = "Foo";
String ...
Amblyoscope asked 25/1, 2010 at 3:28
1
Solved
I want to use JavaCompiler to dynamically create some classes.
I found the source code of the javax.tools package, but there is no implementation; some posts on the internet say it depends on too...
Inebriant asked 11/11, 2009 at 9:6
1
© 2022 - 2024 — McMap. All rights reserved.