Eclipse

Eclipse – Set your JRE

Windows Open Eclipse Window -> Preferences -> Java -> Installed JREs Add Navigate to JRE location – C:\Program Files\Java\… Mac Open Eclipse Eclipse -> Preferences -> Java -> Installed JREs Add Navigate to JRE location – /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home Set Java Compliance Level Preferences -> Java -> Compiler Compiler Compliance Level  

Tomcat in Eclipse, set Java Version

Open Eclipse Window -> Show View -> Servers Double click your existing Tomcat Server click ‘Open launch configuration’ Classpath Bootstrap Entities Remove existing JRE if necessary (click Remove) Advanced -> Add Library -> OK JRE System Library ->  Alternate JRE -> Installed JREs Add -> Standard VM /Library/Java/Java Virtual Machines … path to jdk