SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
Installing Tomcat On Windows 7

PREPARED BY RAVI KUMAR LANKE

Page 1
Installing Java
Tomcat requires java in order to run. If your computer already has java installed, you can probably skip
this step. However, make sure you have a recent version of java.

Setting the Java Environment Variable
Tomcat will need to know where you have installed java. To do this, you will need to set the
environment variable JAVA_HOME
Here are the steps for setting the environment variable

Goto start and right click on computer and click on properties

PREPARED BY RAVI KUMAR LANKE

Page 2
Click on Advanced System Settings

PREPARED BY RAVI KUMAR LANKE

Page 3
Click on Environment Variables

PREPARED BY RAVI KUMAR LANKE

Page 4
Click on New

PREPARED BY RAVI KUMAR LANKE

Page 5
Give Variable Name and Variable Value and click ok
Click ok and ok

PREPARED BY RAVI KUMAR LANKE

Page 6
Installing Tomcat
After setting the JAVA_HOME environment variable, you can install tomcat
Go to the Tomcat software folder
Run the exe file.
I suggest you install Tomcat at c:tomcat
Use the default settings and provide a password that you will remember

PREPARED BY RAVI KUMAR LANKE

Page 7
PREPARED BY RAVI KUMAR LANKE

Page 8
PREPARED BY RAVI KUMAR LANKE

Page 9
PREPARED BY RAVI KUMAR LANKE

Page 10
PREPARED BY RAVI KUMAR LANKE

Page 11
PREPARED BY RAVI KUMAR LANKE

Page 12
Running Tomcat
Here are the steps to see if Tomcat has been successfully installed
Start Tomcat by finding its start program in the Programs Menu (located in the Start menu). Look under
Apache Tomcat and select "Start Tomcat"

Open a Web browser and type in the following URL:
http://localhost:8080/

PREPARED BY RAVI KUMAR LANKE

Page 13
PREPARED BY RAVI KUMAR LANKE

Page 14
PREPARED BY RAVI KUMAR LANKE

Page 15
At this point, you should see the Tomcat home page, which is provided by the Tomcat
Web server running on your computer. Note: if your computer has an internet name or
an IP number, you may access your Tomcat server anywhere on the internet by
substituting localhost with the full name or IP number.
To shut down your server and remove the Console window, select "Stop Tomcat" in
the same menu of where you selected "Stop Tomcat".

PREPARED BY RAVI KUMAR LANKE

Page 16
PREPARED BY RAVI KUMAR LANKE

Page 17
Set Your CLASSPATH

Since servlets and JSP are not part of the Java 2 platform, standard edition, you have
to identify the servlet classes to the compiler. The server already knows about the
servlet classes, but the compiler (i.e., javac) you use for development probably
doesn't. So, if you don't set your CLASSPATH, attempts to compile servlets, tag libraries,
or other classes that use the servlet and JSP APIs will fail with error messages about
unknown classes. Here are the standard Tomcat locations:
Tomcat : c:tomcatlibservlet.jar
in addition to the servlet JAR file, you also need to put your development directory in
the CLASSPATH. Although this is not necessary for simple packageless servlets, once
you gain experience you will almost certainly use packages. Compiling a file that is in
a package and that uses another class in the same package requires the CLASSPATH to
include the directory that is at the top of the package hierarchy. In this case, that's the
development directory I just discussed. Forgetting this setting is perhaps the most
common mistake made by beginning servlet programmers!
Finally, you should include "." (the current directory) in the CLASSPATH. Otherwise,
you will only be able to compile packageless classes that are in the top-level
development directory.

PREPARED BY RAVI KUMAR LANKE

Page 18
Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 19
Set Your CATALINA_HOME :

Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 20
Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 21
ENVIRONMENT VARIABLES SETTINGS FOR TOMCAT :
1.
2.
3.
4.
5.
6.
7.

Right click on My Computer.
Select Properties.
Select the Advanced tab.
Select the Environmental Variables button.
Under the System Variable group, select New.
In the Variable Name field, type JAVA_HOME.
In the Variable Value field, type the name of the path to your
JVM (e.g., C:Java).
8. Select OK.
9. Under the System Variable group, select New.
10.
In the Variable Name field, type CATALINA_HOME.
11.
In the Variable Value field, type the name of the path to
Tomcat (e.g., C:Tomcat).
12.
Select OK.
13.
Select OK.
14.
Select OK.

PREPARED BY RAVI KUMAR LANKE

Page 22

Mais conteúdo relacionado

Destaque

Susan Lannon Samples
Susan Lannon SamplesSusan Lannon Samples
Susan Lannon SamplesSuzinLannon
 
SaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSonny Brabez
 
How to install windows vista
How to install windows vistaHow to install windows vista
How to install windows vistaRavi Kumar Lanke
 
【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へDevelopers Summit
 
Modern Governor City of York Case Study
Modern Governor City of York Case StudyModern Governor City of York Case Study
Modern Governor City of York Case StudyElaine Walton
 
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Atrivé
 
Memory Science & Medical Education
Memory Science & Medical EducationMemory Science & Medical Education
Memory Science & Medical EducationBenjamin Williams
 
Презентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТПрезентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТFert
 
Step by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerStep by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerRavi Kumar Lanke
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Francisco Apablaza
 
Cloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationCloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationISPABelgium
 
Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric Interactive
 

Destaque (20)

Susan Lannon Samples
Susan Lannon SamplesSusan Lannon Samples
Susan Lannon Samples
 
Oracle backup
Oracle backupOracle backup
Oracle backup
 
Habitac hackaton final pitch bis
Habitac hackaton final pitch bisHabitac hackaton final pitch bis
Habitac hackaton final pitch bis
 
SaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSaaS Studies - SaaS Directories
SaaS Studies - SaaS Directories
 
hombre
hombrehombre
hombre
 
Advanced Excel, Day 5
Advanced Excel, Day 5Advanced Excel, Day 5
Advanced Excel, Day 5
 
How to install windows 98
How to install windows 98How to install windows 98
How to install windows 98
 
How to install windows vista
How to install windows vistaHow to install windows vista
How to install windows vista
 
【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ
 
Svec
SvecSvec
Svec
 
Esdb E Eportfolio
Esdb E EportfolioEsdb E Eportfolio
Esdb E Eportfolio
 
Modern Governor City of York Case Study
Modern Governor City of York Case StudyModern Governor City of York Case Study
Modern Governor City of York Case Study
 
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
 
Memory Science & Medical Education
Memory Science & Medical EducationMemory Science & Medical Education
Memory Science & Medical Education
 
Презентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТПрезентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТ
 
Step by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerStep by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controller
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011
 
Cloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationCloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisation
 
Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric capabilities overview-090110
Fabric capabilities overview-090110
 
Web2.0
Web2.0 Web2.0
Web2.0
 

Semelhante a Installing tomcat on windows 7

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Servermohamedmoharam
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)nazeer pasha
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apachegovindraj8787
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portalprabakaranbrick
 
How to install Java and how to set the path
How to install Java and how to set the pathHow to install Java and how to set the path
How to install Java and how to set the pathyesheeka
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configurationDima Gomaa
 
GTLAB Overview
GTLAB OverviewGTLAB Overview
GTLAB Overviewmarpierc
 
Installing Oracle Endeca Information Discovery 3.0
Installing Oracle  Endeca  Information Discovery 3.0Installing Oracle  Endeca  Information Discovery 3.0
Installing Oracle Endeca Information Discovery 3.0Ravi Kumar Lanke
 
Uninstall obiee 11g on linux
Uninstall obiee 11g on linuxUninstall obiee 11g on linux
Uninstall obiee 11g on linuxRavi Kumar Lanke
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and DeploymentBG Java EE Course
 
Information on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMInformation on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMHTS Hosting
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of DrupalWingston
 
Servlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpServlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpodilodif
 

Semelhante a Installing tomcat on windows 7 (20)

Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)
 
Tomcat
TomcatTomcat
Tomcat
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
 
Java Servlets & JSP
Java Servlets & JSPJava Servlets & JSP
Java Servlets & JSP
 
Command line
Command lineCommand line
Command line
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
How to install Java and how to set the path
How to install Java and how to set the pathHow to install Java and how to set the path
How to install Java and how to set the path
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configuration
 
GTLAB Overview
GTLAB OverviewGTLAB Overview
GTLAB Overview
 
Installing Oracle Endeca Information Discovery 3.0
Installing Oracle  Endeca  Information Discovery 3.0Installing Oracle  Endeca  Information Discovery 3.0
Installing Oracle Endeca Information Discovery 3.0
 
Uninstall obiee 11g on linux
Uninstall obiee 11g on linuxUninstall obiee 11g on linux
Uninstall obiee 11g on linux
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
Alfresco
AlfrescoAlfresco
Alfresco
 
Information on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMInformation on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHM
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
 
Dspace
DspaceDspace
Dspace
 
Servlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpServlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtp
 

Mais de Ravi Kumar Lanke

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessionsRavi Kumar Lanke
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Ravi Kumar Lanke
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseRavi Kumar Lanke
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Ravi Kumar Lanke
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Ravi Kumar Lanke
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitRavi Kumar Lanke
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Ravi Kumar Lanke
 
Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Ravi Kumar Lanke
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac addressRavi Kumar Lanke
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406Ravi Kumar Lanke
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitRavi Kumar Lanke
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Ravi Kumar Lanke
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windowsRavi Kumar Lanke
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...Ravi Kumar Lanke
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task managerRavi Kumar Lanke
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksRavi Kumar Lanke
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerceRavi Kumar Lanke
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerRavi Kumar Lanke
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser titleRavi Kumar Lanke
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle databaseRavi Kumar Lanke
 

Mais de Ravi Kumar Lanke (20)

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessions
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle database
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bit
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...
 
Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac address
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windows
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task manager
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame works
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerce
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise manger
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser title
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle database
 

Último

21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Último (20)

21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Installing tomcat on windows 7

  • 1. Installing Tomcat On Windows 7 PREPARED BY RAVI KUMAR LANKE Page 1
  • 2. Installing Java Tomcat requires java in order to run. If your computer already has java installed, you can probably skip this step. However, make sure you have a recent version of java. Setting the Java Environment Variable Tomcat will need to know where you have installed java. To do this, you will need to set the environment variable JAVA_HOME Here are the steps for setting the environment variable Goto start and right click on computer and click on properties PREPARED BY RAVI KUMAR LANKE Page 2
  • 3. Click on Advanced System Settings PREPARED BY RAVI KUMAR LANKE Page 3
  • 4. Click on Environment Variables PREPARED BY RAVI KUMAR LANKE Page 4
  • 5. Click on New PREPARED BY RAVI KUMAR LANKE Page 5
  • 6. Give Variable Name and Variable Value and click ok Click ok and ok PREPARED BY RAVI KUMAR LANKE Page 6
  • 7. Installing Tomcat After setting the JAVA_HOME environment variable, you can install tomcat Go to the Tomcat software folder Run the exe file. I suggest you install Tomcat at c:tomcat Use the default settings and provide a password that you will remember PREPARED BY RAVI KUMAR LANKE Page 7
  • 8. PREPARED BY RAVI KUMAR LANKE Page 8
  • 9. PREPARED BY RAVI KUMAR LANKE Page 9
  • 10. PREPARED BY RAVI KUMAR LANKE Page 10
  • 11. PREPARED BY RAVI KUMAR LANKE Page 11
  • 12. PREPARED BY RAVI KUMAR LANKE Page 12
  • 13. Running Tomcat Here are the steps to see if Tomcat has been successfully installed Start Tomcat by finding its start program in the Programs Menu (located in the Start menu). Look under Apache Tomcat and select "Start Tomcat" Open a Web browser and type in the following URL: http://localhost:8080/ PREPARED BY RAVI KUMAR LANKE Page 13
  • 14. PREPARED BY RAVI KUMAR LANKE Page 14
  • 15. PREPARED BY RAVI KUMAR LANKE Page 15
  • 16. At this point, you should see the Tomcat home page, which is provided by the Tomcat Web server running on your computer. Note: if your computer has an internet name or an IP number, you may access your Tomcat server anywhere on the internet by substituting localhost with the full name or IP number. To shut down your server and remove the Console window, select "Stop Tomcat" in the same menu of where you selected "Stop Tomcat". PREPARED BY RAVI KUMAR LANKE Page 16
  • 17. PREPARED BY RAVI KUMAR LANKE Page 17
  • 18. Set Your CLASSPATH Since servlets and JSP are not part of the Java 2 platform, standard edition, you have to identify the servlet classes to the compiler. The server already knows about the servlet classes, but the compiler (i.e., javac) you use for development probably doesn't. So, if you don't set your CLASSPATH, attempts to compile servlets, tag libraries, or other classes that use the servlet and JSP APIs will fail with error messages about unknown classes. Here are the standard Tomcat locations: Tomcat : c:tomcatlibservlet.jar in addition to the servlet JAR file, you also need to put your development directory in the CLASSPATH. Although this is not necessary for simple packageless servlets, once you gain experience you will almost certainly use packages. Compiling a file that is in a package and that uses another class in the same package requires the CLASSPATH to include the directory that is at the top of the package hierarchy. In this case, that's the development directory I just discussed. Forgetting this setting is perhaps the most common mistake made by beginning servlet programmers! Finally, you should include "." (the current directory) in the CLASSPATH. Otherwise, you will only be able to compile packageless classes that are in the top-level development directory. PREPARED BY RAVI KUMAR LANKE Page 18
  • 19. Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 19
  • 20. Set Your CATALINA_HOME : Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 20
  • 21. Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 21
  • 22. ENVIRONMENT VARIABLES SETTINGS FOR TOMCAT : 1. 2. 3. 4. 5. 6. 7. Right click on My Computer. Select Properties. Select the Advanced tab. Select the Environmental Variables button. Under the System Variable group, select New. In the Variable Name field, type JAVA_HOME. In the Variable Value field, type the name of the path to your JVM (e.g., C:Java). 8. Select OK. 9. Under the System Variable group, select New. 10. In the Variable Name field, type CATALINA_HOME. 11. In the Variable Value field, type the name of the path to Tomcat (e.g., C:Tomcat). 12. Select OK. 13. Select OK. 14. Select OK. PREPARED BY RAVI KUMAR LANKE Page 22