Advanced Java - Servlet (Download and install Apache Tomcat)

159 Aufrufe
Published
Step 1 : Download

Search for "Download Apache tomcat 8"

tomcat.apache.org/download

download 32 bit/64 bit Windows Service Installer


Step 2 : Install

double click on the .exe file

click normal : select full
change connector port to 8089
username
password


select path of latest jre
if windows 10 then(jdk-14 folder)


browse
d:\apache\tomcat

search -- services - apache tomcat -right click - properties - startup type - manual

installation finshed


Step 3 : Setting

copy
servlet-api.jar
jsp-api.jar

from
d:\apache\tomcat\lib
to
C:\Program Files\Java\jdk1.8.0_05\lib

setting environment variables

CATALINA_HOME
d:\apache\tomcat

CLASSPATH
C:\Program Files\Java\jdk1.8.0_05\lib\servlet-api.jar;
C:\Program Files\Java\jdk1.8.0_05\lib\jsp-api.jar


Step 4: starting server

search - services - apache tomcat -right click - start
or
d:\apache\tomcat\bin - click on red feather (Application)


Step 5: Login
localhost:8089
manager app
enter username,password
Kategorien
PC (Windows/Mac/Linux) Anleitungen
Kommentare deaktiviert.