I have just installed Eclipse 4.4 (Luna) on Ubuntu, but I couldn\'t set the Apache Tomcat 7 server in Target Runtime environment. This option is not shown there.
I a
Create a runtime environment for Tomcat 7, but when you asked for tomcat_home or catalina_home use the path you want. I should run fine. I've made myself on MyEclipse and Tomcat 8. This is very fun because Tomcat 8 is unknown to the MyEclipse is too old. Your Luna is too young and should have a server runtime environment for Tomcat 8. Sure you can use a pro version of eclipse to make it working.
Have you installed the **Eclipse IDE for Java EE Developer Luna?**
Have you installed or unzip the Tomcat 7 to your local folder? If all answer is yes, you need to add it in Server Environment to your Eclipse:
Step1: Click Window menu - Preferences - Server - Runtime Environments Step 2: Click Add - expand Apache - Select Apache Tomcat 7 Step 3: Browse the Tomcat Installation folder or you can just click the Download and Install Step 4: Click Finished
Next is add the Server to Server View
Step 1: Click Window menu - View - Servers Step 2: If you see "No servers available" Click the link to create a new instance Step 3: Select "Tomcat v7.0 Server" from Server Type Step 4: Select "Apache Tomcat v7.0" from the drop down "Server runtime environment"
Help > Eclipse Marketplace
JST Server Adapter
JST Server Adapter Extensions
Window > Preferences > Server > Runtime Environment
Add
button and select Apache Tomcat v7.0
Finish
One of the Compatible Tomcat version for eclipse Luna is Eclipse Tomcat Plugin 9.0.1. You can download it from sourceforge.net
Download and extract the zipped folder into ..\eclipse\dropins\ folder
and restart the eclipse.
After a restart of Eclipse go to
Window/Preferences/Server/Runtime Enviroments and click "add"
Now you will see the options for Tomcat (in my case Version 3.2 up to 8.0)