Hi, I'm using eclipse 2.0.2. I like the fact that Eclipse shows compile errors in the Task pane. It's easy to navigate to the error. Where do you specify the compiler that Eclipse uses? I'd like to use the javac compiler that comes with the J2SE v1.4.1 I've downloaded which I could do by running an external tool like ant. But, I want the errors to be displayed in the task pane as is. If I can't change the compiler, are there any optimization options (like -o with the javac) that come with the Eclipse compiler that I can use. Regards, John
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11945
posted
0
In this thread, Ilja implied that you couldn't change the compiler.
In Window -> Preferences -> Java -> Compiler -> Compliance and Classfiles, you can change which compiler the byte code should be compliant with. I'm not aware of any optimization options though.
Matthew Phillips
John Fairbairn
Ranch Hand
Joined: May 30, 2002
Posts: 55
posted
0
Thanks for your answers. I went to Windows -> Preferences -> Java -> Compiler -> JDK Compliance to verify that the compiler was compliant with JDK 1.4. I'm using ant to deploy my web app to JBoss and running ant as an external tool from Eclipse. I guess I'll have to add another ant task if I want the optimization options. Regards, John