I want to compile a .java File during runtime with the javax.tools.JavaCompiler, but inside the .java file I'm using a class that's defined in an external .class files. How can i let the JavaCompiler know this class?
I tried it with the options thing from here, How to set classpath when I use javax.tools.JavaCompiler compile the source? , but it's not working. It could also be, that I just made something false, because the description on this link isn't huge. Thank you for your answers. :)