Maximus Decimus
Maximus Decimus

Reputation: 5261

Unknown version of Tomcat was specified 8.0.24 / Eclipse 4.4.2 (Luna)

A couple of months ago, I downloaded and unzipped the tomcat 8.0.24 which is running flawlessly. I did some tests creating servlets in notepad, compiled with javac.exe and placed in webapps. It worked.

My version of Eclipse is 4.4.2 known as Luna.

My version of JRE is 1.8.0_65 (x64)

When I want to set my Server in Eclipse, I see this warning and I don't know what to do.

Eclipse > Windows > Preferences > Server > Runtime Environments > Add enter image description here

enter image description here

enter image description here

Upvotes: 4

Views: 37591

Answers (7)

Kashinath
Kashinath

Reputation: 370

Select same jdk which is use for tomcat at time of installation

Upvotes: 0

Yash Jain
Yash Jain

Reputation: 315

This required path is where you untarred the file when downloaded. Generally, the path in Ubuntu systems is:

/usr/share/tomcat7

Upvotes: 1

Akshay Vijay Jain
Akshay Vijay Jain

Reputation: 15945

Use Tomcat version 7
The problem is the variable JAVA_HOME, everything works for TOMCAT version 7 but not for version 8 and 9 which always returns me "Unknown version of Tomcat was specified"

Upvotes: 0

David
David

Reputation: 1664

I tried different locations, assign all permissions, but none of them works. so I moved tomcat folder to desktop and it works for me... mine is tomcat 8.5 and oxygen eclipse.

Upvotes: 0

Balaji Perumal
Balaji Perumal

Reputation: 850

In Fedora, Just select this directory

/usr/share/tomcat

Upvotes: 1

maxweber
maxweber

Reputation: 576

In Ubuntu, point to the shared location; not the app location. Point to: /usr/share/tomcat8 and fix what they did not test:

 cd /var/lib/tomcat8
 ln -s conf /usr/share/tomcat8/conf

Upvotes: 5

Dfirmansyah
Dfirmansyah

Reputation: 398

Tomcat Installation directory field is meant to be pointed at your Tomcat base directory.

So in your case just fill it with D:\ApacheTomcat\apache-tomcat-8.0.24 (without bin directory)

Upvotes: 13

Related Questions