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

 

Leave a comment