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

 

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s