I noticed that the Eclipse IDE (for Java, version 3.5.1) uses its own java compiler (s), but I cannot find how to change it. Is it possible?
This may be a little trivial, but after many years of using IntelliJ IDEA, I find returning to Eclipse a bit uncomfortable.
Thanks.
UPDATE: after a more detailed explanation has been requested, I do this.
So, I recently helped some Java developers and noticed that it uses Eclipse without the Sun JDK. Since we use only the Sun JDK across the company, I found this rather strange.
It turned out that he only has Eclipse, and no additional tools for compiling java code (for example, javac) are required. This is because Eclipse comes with its own compiler (more on this).
By myself, I find this feature pretty enjoyable, and I think there are good reasons for this. But I would like all the developers of our company to use the same compiler to generate java bytecode (.class files). And run it in one JVM. Just to make the environment as uniform as possible and eliminate additional environmental problems. I have no problem specifying JRE in Eclipse.
But I could not find how to change the default Java compiler to javac. On the other hand, my main IntelliJ IDEA IDE allows you to do this (choose between javac, jikes, or eclipse compilers). So I just wanted to know if this is possible in Eclipse or not.
Additionally:
- No, I have no real problems with the Eclipse compiler as such, it's just a matter of choice.
- I know that Apache Ant and other solutions can be used to compile Java code with any compiler. But here I am interested in Eclipse and its integrated project construction (for example, menu items in the Project menu).
java eclipse
Raalkie
source share