IntellJ and JBuilder compiling differences - Error and Warning messages

I'm just evaluating IntellJ to find out the nice "refactoring" opportunities.

So, I'am using the same configuration in Jbuilder 4 and
IntellJ 3.0. ( JDK 1.1.8 and the same libraries)

JBuilder can compile and writes out some warnings with regard to deprecated methodes in MQ Series and the Servlet API.

IntellJ can not compile the source code "from the scratch" with the JDK 1.1.8 and gives me a lot of error messages ( package xy not found in import, etc.)
If I precompile the source code with JDK 1.3.1_02 and all the dependecies are created and compile it then with JDK 1.1.8 I get the EXACT messages as the JBuilder warnings. But this are not warning messages. This are ERROR messages ..

Maybe someone can explain this diferences in behaviour to me. Thank you very much.

Marco


2 comments

IDEA uses Sun's javac or jikes (depending on how you configured your project).
JBuilder 4 uses its own compiler.

Could you please describe how to reproduce the behaviour that the code cannot be compiled "from the scratch"?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"



0

If I delete all the compiled class files in the "classes" directory and the dependency cache, then it is not possible to compile the source code from the scratch.
(empty classes directrory)

But if I have "successfully" compiled the source code with JDK 1.3.x, then it is possible to change the JDK and to recompile with JDK 1.1.8

Kind regards

0

Please sign in to leave a comment.