This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse - How to install apache tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse - How to install apache tomcat?" Watch "Eclipse - How to install apache tomcat?" New topic
Author

Eclipse - How to install apache tomcat?

Deepa Chandrashekar
Greenhorn

Joined: Oct 16, 2012
Posts: 24
Hi guys,

I downloaded eclipse and tomcat 7.
i don't know how to set the class path in the mac. I tried to run it and set it in the class variable but it s showin error as "The specified Tomcat installation directory does not exist." .
So how to correct it??

Please advise.
Thanks in advance!

Regards,
Deepa
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5835
    
    7

You should not have to set classpath. After you unzip both Eclipse and Tomcat, go into Eclipse and create a new server (File > New > Servers > Apache/Tomcat v7.0 Server) and when the dialog asks for the Tomcat directory, browse to it. Eclipse will then take care of all classpaths for any dynamic web projects you create.

(This is based on my work on Windows/Linux, I don't have a mac.)


JBoss In Action
Deepa Chandrashekar
Greenhorn

Joined: Oct 16, 2012
Posts: 24
Hello Peter,

Thanks for the help! but I was able to go to servers->apache ->when i clicked on tomcat v7.0 . It says "Cannot create a server using the selected type". So i couldn't browse to it...
I had installed tomcat earlier but those bin files got deleted for some reason. so i am trying to install it again.
Please advise!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5835
    
    7

You could try installing Tomcat 6 and using it.

I suspect that the Tomcat 7 config files are missing or corrupt. The easiest solution is to reinstall Eclipse.
Deepa Chandrashekar
Greenhorn

Joined: Oct 16, 2012
Posts: 24
Hey Peter,

Thanks for helping!

I was able to resolve it by changing the folder place in preferences and adding the new location.
 
GeeCON Prague 2014
 
subject: Eclipse - How to install apache tomcat?