I need to batch a compilation with a special JRE which has been "customized".
Eclipse is able to compile the classes with this JRE, but I need to make a build script outside of Eclipse.
What is the method used by Eclipse to generate the .class files without a JDK?
Eclipse Java compiler is an incremental Java builderAn incremental compiler automatically compiles code when changes are detected. It doesn't compile the whole project's code. It compiles only the changes you have made (incrementally), giving fast response to programmers.
In summary, Eclipse uses its own JDT core as the Java compiler. The JDT core compiler does not have a JRE. So Eclipse requires user installed JRE to run the . class code.
Eclipse comes with its own compiler for the following reasons:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With