15
15
limitations under the License.
16
16
================================================================================
18
$Id: BUILDING.txt 1356016 2012-07-01 20:45:13Z kkolinko $
18
$Id: BUILDING.txt 1371983 2012-08-11 17:23:27Z kkolinko $
20
20
====================================================
21
21
Building The Apache Tomcat @VERSION_MAJOR_MINOR@ Servlet/JSP Container
38
38
1. If the JDK is already installed, skip to (2).
40
2. Download a Java Development Kit (JDK) release (version 1.6.x or later)
40
2. Download a version 6 of Java Development Kit (JDK) release (use the
41
latest update available for your chosen version) from
43
43
http://www.oracle.com/technetwork/java/javase/downloads/index.html
44
or from another JDK vendor.
46
Note regarding later versions of Java:
48
As documented elsewhere, one of components in Apache Tomcat includes
49
a private copy of the Apache Commons DBCP library. The source code
50
for this library is downloaded, processed by the build script
51
(renaming the packages) and compiled.
53
Due to changes in JDBC interfaces implemented by the library between
54
versions of Java SE specification, the library has to target specific
55
version of Java and can be compiled only with the JDK version
56
implementing this version of specification.
58
See Apache Commons DBCP project web site for more details on
59
available versions of the library and its requirements,
61
http://commons.apache.org/dbcp/
63
If you really want to use a later version of JDK to build Tomcat,
64
several workarounds are possible. One of them is to skip building
65
the component (tomcat-dbcp.jar).
45
67
3. Install the JDK according to the instructions included with the release.