Rahman
Rahman

Reputation: 3785

Project facet Java version 1.7 is not supported

I know similar issues has been posted already in SO but unfortunately none of them helped actually.

Facing :

Project facet Java version 1.7 is not supported

Current Environment :

Server : Tomcat 7

JDK and JRE :1.6

Eclipse : JUNO

And as per the doc it seems like Tomcat 7 should support JDK 6

Ref : https://tomcat.apache.org/tomcat-7.0-doc/building.html

I checked JRE which my project pointing to

Window --> Preferences --> Java --> Installed JRE

and its pointing to JRE1.6.

Any kind of help will be appreciated.

Upvotes: 0

Views: 7017

Answers (3)

Fia
Fia

Reputation: 1

You can edit the java version of your run time (server)environment

In eclipse, goto Windows->Preferences->server->run time environment->select the server on the right side window->edit->In java home->select jdk1.7.0_79 path->finish

Upvotes: 0

Saurabh Sachdeo
Saurabh Sachdeo

Reputation: 41

Right Click on Project -> Properties -> Project Facets Your project Java version here should be same as Java compiler version Right Click on Project -> Properties -> Java Compiler

Based on your input that you want to use JDK 1.16, same should be the version of your Java Compiler and Project Facet Java version.

Upvotes: 0

tom
tom

Reputation: 1503

Facet != JRE Settings ... Right Click on Project => Properties => Tabpage Project Facets...

Upvotes: 2

Related Questions