Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Question about Java Compiling
Question about Java Compiling [message #927194] Sat, 29 September 2012 11:08 Go to next message
Zachary1234 Missing name is currently offline Zachary1234 Missing nameFriend
Messages: 9
Registered: November 2011
Junior Member
I have heard that the eclipse people have their own, publicly available,
free for commercial use native java compiler, called the "eclipse compiler for java".

-Is this true?

-Does it come as an automatic part as the default Eclipse IDE download?

-Will installed the Eclipse IDE detect and revert to another compiler, or its own "ecj" compiler?

-May the Eclipse compiler for java be downloaded and installed separately from the IDE,
where and how?

-Does ECJ support Java 1.5 syntax and up?

-Will it only produce executable programs, or can it output .class files?

-What OS'es will the compiler install on (Mac/Windows 7/Linux)?
Re: Question about Java Compiling [message #927615 is a reply to message #927194] Sat, 29 September 2012 21:48 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Zachary1234 Mising name wrote on Sat, 29 September 2012 13:08
I have heard that the eclipse people have their own, publicly available,
free for commercial use native java compiler, called the "eclipse compiler for java".

-Is this true?

ecj is a Java compiler written in Java and available under the EPL.

Quote:
-Does it come as an automatic part as the default Eclipse IDE download?


yes

Quote:

-Will installed the Eclipse IDE detect and revert to another compiler, or its own "ecj" compiler?


The Eclipse IDE uses ecj for all Java projects, unless you explicitly disable the "Java Builder".

Quote:
-May the Eclipse compiler for java be downloaded and installed separately from the IDE, where and how?


For info on using ecj as a batch compiler please see http://help.eclipse.org/juno/topic/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm?cp=1_3_8_0

Quote:
-Does ECJ support Java 1.5 syntax and up?

anything between 1.3 and 1.7 (inclusive).

Quote:
-Will it only produce executable programs, or can it output .class files?

.class files

Quote:
-What OS'es will the compiler install on (Mac/Windows 7/Linux)?

Any platform that has a JVM.

best,
Stephan



Previous Topic:Sort Editor Windows
Next Topic:Accessing phpMyAdmin database though Java
Goto Forum:
  


Current Time: Sat Jul 27 09:27:55 GMT 2024

Powered by FUDForum. Page generated in 0.03481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top