This is an automated email from the ASF dual-hosted git repository.
ebourg pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new c69fafc2ed Removed the obsolete references to tools.jar (removed since
Java 9)
c69fafc2ed is described below
commit c69fafc2edc10cb93b8969ac9278f14fed1ad34a
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 9071a6f59a..e5ae38686a 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>
* <taskdef classname="org.apache.jasper.JspC" name="jasper" >
* <classpath>
- * <pathelement location="${java.home}/../lib/tools.jar"/>
* <fileset dir="${ENV.CATALINA_HOME}/lib">
* <include name="*.jar"/>
* </fileset>
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index be6b9d9539..62184a2840 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -100,8 +100,8 @@ Ant'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>17</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]