Hey guys,
I'm not sure about the title... I have an object that uses the JavaCompiler object, which I get:
private final JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
I tried to export the project which is defined to work with the JRE 1.6 in Eclipse, into a runnable jar, and when I run the jar I get null from the ToolProvider, in Eclipse all work fine and the compiler is there.
How can I use the JRE 1.6 instead of the JDK in my application?
Adam.