This is an automated email from the ASF dual-hosted git repository.

ebourg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 704e20d2cd Removed the obsolete references to tools.jar (removed since 
Java 9)
704e20d2cd is described below

commit 704e20d2cde6143ebc398438589c86b026acdc9e
Author: Emmanuel Bourg <[email protected]>
AuthorDate: Tue Dec 1 09:28:56 2026 +0100

    Removed the obsolete references to tools.jar (removed since Java 9)
---
 conf/catalina.properties               | 1 -
 java/org/apache/jasper/JspC.java       | 1 -
 webapps/docs/jasper-howto.xml          | 4 ++--
 webapps/docs/windows-service-howto.xml | 4 ++--
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/conf/catalina.properties b/conf/catalina.properties
index 810ecec6fa..2d233350a5 100644
--- a/conf/catalina.properties
+++ b/conf/catalina.properties
@@ -169,7 +169,6 @@ tomcat-juli.jar,\
 tomcat-util-scan.jar,\
 tomcat-util.jar,\
 tomcat-websocket.jar,\
-tools.jar,\
 unboundid-ldapsdk-*.jar,\
 websocket-api.jar,\
 websocket-client-api.jar,\
diff --git a/java/org/apache/jasper/JspC.java b/java/org/apache/jasper/JspC.java
index 5ab1e35dc6..743148e732 100644
--- a/java/org/apache/jasper/JspC.java
+++ b/java/org/apache/jasper/JspC.java
@@ -74,7 +74,6 @@ import org.xml.sax.SAXException;
  * <pre>
  *   &lt;taskdef classname="org.apache.jasper.JspC" name="jasper" &gt;
  *      &lt;classpath&gt;
- *          &lt;pathelement location="${java.home}/../lib/tools.jar"/&gt;
  *          &lt;fileset dir="${ENV.CATALINA_HOME}/lib"&gt;
  *              &lt;include name="*.jar"/&gt;
  *          &lt;/fileset&gt;
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index a9afbe1705..ea9fe24cf0 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -100,8 +100,8 @@ Ant&apos;s
 task. If the value is not set, then the default Eclipse JDT Java compiler will
 be used instead of using Ant. There is no default value. If this attribute is
 set then <code>setenv.[sh|bat]</code> should be used to add
-<code>ant.jar</code>, <code>ant-launcher.jar</code> and <code>tools.jar</code>
-to the <code>CLASSPATH</code> environment variable.</li>
+<code>ant.jar</code> and <code>ant-launcher.jar</code> to the
+<code>CLASSPATH</code> environment variable.</li>
 
 <li><strong>compilerSourceVM</strong> - What JDK version are the source files
 compatible with? (Default value: <code>21</code>)</li>
diff --git a/webapps/docs/windows-service-howto.xml 
b/webapps/docs/windows-service-howto.xml
index 8f8117ccaf..6df9210345 100644
--- a/webapps/docs/windows-service-howto.xml
+++ b/webapps/docs/windows-service-howto.xml
@@ -490,14 +490,14 @@ To update the service parameters, you need to use the 
<b>//US</b> parameter.
 
 <source>Update the service named 'Tomcat<version-major/>'
 C:\> tomcat<version-major/> //US//Tomcat<version-major/> --Description="Apache 
Tomcat Server - https://tomcat.apache.org/ " ^
-     --Startup=auto 
--Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
+     --Startup=auto --Classpath=%CATALINA_HOME%\bin\bootstrap.jar</source>
 
 <p>If you gave the service an optional name, you need to specify it like this:
 </p>
 
 <source>Update the service named 'MyService'
 C:\> tomcat<version-major/> //US//MyService --Description="Apache Tomcat 
Server - https://tomcat.apache.org/ " ^
-     --Startup=auto 
--Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
+     --Startup=auto --Classpath=%CATALINA_HOME%\bin\bootstrap.jar</source>
 
 </section>
 <section name="Removing services">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to