Setting up new Java compiler and runtime in Eclipse IDE

ajduke's blog

This article will present migrating Eclipse development environment from one version of Java to another in general but Java 6 to java 7 in particular.

Also, it will show you way to configure the Java compiler and runtime in Eclipse IDE for Java / Java EE.

Setup compiler and runtime at global level

By default in the eclipse, all projects uses the same compiler and runtime setting which is configured at global level. The term global level, we will use it here for common setting for all Java projects.

Set up compiler

While installing/setting up the Eclipse IDE on machine for first time, you may notice that you don’t require the JDK to be configured for Eclipse IDE. But It needs the JRE (it gets from default JRE for machine)  and still Eclipse will compile and run our all the Java projects

This is because Eclipse IDE has in built…

View original post 607 more words