How to configure tomcat java for Eclipse?

I have maven project. I build it using java 8.

Compilation passed. After it I click run on server and select tomcat.

Tomcat uses java 7 to launch builded war and I see error: unsupportted minor major version.

I cannot find place to configure java version which uses Elclipse tomcat.

Answers


Tomcat uses the Server runtimes configured within Eclipse. You must edit the one set in your Tomcat server instance to specify the jdk version (which in turn requires you to configure the installed JREs).

You can find the related settings under Windows → Preferences → Server → Runtime Environments → select tomcat 7click edit and determine jre.


Need Your Help

Prevent Splash Screen from showing after returning from background

iphone ios splash-screen visual-glitch

I've noticed something that happens in every app i develop. It's usually not a concern but in this specific app it would be great if i could "fix" it, if it's even a bug. Steps to re-produce the ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.