Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to set up other-than-eclipse Java compiler for Eclipse IDE
    primarykey
    data
    text
    <p>I noticed that Eclipse IDE (for Java, version 3.5.1) uses it's own java compiler(s), but I can't find how to change it. Is it even possible?</p> <p>Maybe it's kinda trivial, but after many years of using IntelliJ IDEA I find returning to Eclipse a little bit awkward.</p> <p>Thanks.</p> <p>UPDATE: Since more detailed explanation was requested, I'm doing that.</p> <p>So, recently I was helping out some fellow Java developer and noticed he is using Eclipse w/o Sun's JDK. Since company-wide we are using only Sun's JDKs, I found it rather strange. </p> <p>It appeared that he has only Eclipse and no additional tools for compiling java code (like javac) are required. This is because Eclipse comes bundled with its own compiler (check <a href="https://stackoverflow.com/questions/3061654/what-is-the-difference-between-javac-and-the-eclipse-compiler">this</a> for more details). </p> <p>By itself I find this feature quite nice, and I believe there were good reasons for that. But I would like all our company developers to use same compiler to generate java bytecode (.class files). And to run this in same JVMs. Just for sake of having as unified environment as possible and eliminating additional environment-specific issues. I have no problem with specifying JRE in Eclipse. </p> <p>But I failed to find how to change default Java compiler to javac. On the other hand, my primary IDE IntelliJ IDEA allows do that (choose between javac, jikes or eclipse compilers). So I just wanted to know if same is possible in Eclipse or not.</p> <p>Additionally:</p> <ul> <li>No, I have no real problems with Eclipse compiler as such, this is simply matter of being able to choose.</li> <li>I know that Apache Ant and other solutions can be used to compile Java code with any compiler. But here I'm interested in Eclipse and its integrated project building (e.g. menu items under <em>Project</em> menu).</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload