Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between pages "FAQ How do I choose my own compiler?" and "File:StoredProcResults.jpg"

(Difference between pages)
 
 
Line 1: Line 1:
The JDT compiler is tightly integrated with the rest of the JDT. Extracting
 
the compiler out of the JDT and properly integrating a different compiler
 
is not trivial. A quick approach is to disable the Java builder from the
 
project’s '''Builders''' property page, and replace it with an Ant
 
task that calls <tt>javac</tt> or another compiler. However, we
 
strongly advise you to go with the installed compiler. It knows
 
exactly how to interact with the rest of Eclipse&#151;for instance, by assisting in the
 
creation of tasks, quick fixes, and source decorators. It
 
is one of the fastest, most complete Java compilers available. Finally, the
 
JDT compiler can generate class files even when the source contains compilation
 
errors.
 
  
 
 
By activating '''Window &gt; Preferences &gt; Java &gt; Compiler''', you have
 
full control over the reporting style of the compiler, severity of error
 
conditions, what to do with unused code, and how to treat javadoc comments.
 
 
 
 
 
Using the Preference page, you can also select the JDK compliance
 
level of the compiler, the version of generated class files, and
 
whether the compiler should generate debugging symbols.
 
 
 
 
 
 
== See Also: ==
 
 
 
[[FAQ_Why_can%26%23146%3Bt_my_Ant_build_find_%3Ctt%3Ejavac%3C%2Ftt%3E%3F]]
 
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
 

Latest revision as of 12:25, 17 April 2006

Back to the top