Skip to main content

Posts

Showing posts from October, 2005

Why Eclipse is not as good as IntelliJ IDEA

3 months ago I switched to Eclipse after using IntelliJ IDEA for years. I soon learned that Eclipse doesn't let you configure the JDK it uses to compile your workspace, but the strange thing is, it allows you to configure the JRE it will use to run your code. I thought that was odd and would probably cause me headaches someday. Well today is that day. Today, I learned the extent of the problem when I attempted to run an Ant script through Eclipse. Long story short, when using Eclipse make sure you run the eclipse.exe with the -vm switch to define which JDK it should use and make sure the tools.jar in the Eclipse Ant classpath matches that same JDK. It's absolutely retarded that Eclipse allows them to be different. It caused me all kinds of 'class version mismatch' headaches. Why they thought it was a good idea to build projects and run Ant scripts in the same virtual machine that they run the GUI in is beyond me. IntelliJ IDEA has a much cleaner separation wh