Java versions
- Trunk (i.e. OpenJPA 2.0.0 currently) requires JDK 1.6 or 1.5. Note that some functionality that requires JDK 1.6 will not be available if you choose to build with JDK 1.5.
- Building javadoc from Trunk requires JDK 1.6.
- OpenJPA 1.3.x, 1.2.x and 1.1.x branches requires JDK 1.5.
- OpenJPA 1.0.x branch requires JDK 1.5 or 1.4.
Maven versions
- Trunk, 1.3.x, 1.2.x, 1.1.x and 1.0.x all require Maven 2.0.5 or later (2.0.9 is recommended)
Runtime Dependencies
The binary release download of OpenJPA apache-openjpa-<version>-binary.zip includes all of the code needed to run in a stand-alone Java SE JVM or within a Java EE application server.
OpenJPA 1.0.x - 1.2.x Releases
The binary download includes the following required OpenJPA core artifact: \
- openjpa-<version>.jar
and the following required runtime dependencies under the lib/ directory:
- commons-collections-3.2.jar
- commons-lang-2.1.jar
- commons-pool-1.3.jar
- serp-1.13.1.jar
The following artifacts under lib/ are only required for Java SE environments, as a Java EE application server should provide an implementation:
- geronimo-jpa_3.0_spec-1.0.jar
- geronimo-jta_1.1_spec-1.1.jar
The following is optional, as you should include the JDBC driver artifacts required by your database provider and supported by OpenJPA:
- derby-10.2.2.0.jar
OpenJPA 1.3.0 and 2.0.0 SNAPSHOT Branches
As with previous releases, the binary download includes the following required OpenJPA core artifact: \
- openjpa-<version>.jar
and copies of the required runtime dependencies in the lib/ directory, as noted in the section above.
Starting with the OpnJPA 1.3.x branch, the binary download also includes a new artifact which includes the OpenJPA core code plus all of the runtime dependencies for Java SE environments: \
- openjpa-all-<version>.jar
which includes the following:
- commons-collections-3.2.jar
- commons-lang-2.1.jar
- commons-logging-1.0.4.jar
- commons-pool-1.3.jar
- geronimo-jms_1.1_spec-1.1.1.jar
- geronimo-jpa_3.0_spec-1.0.jar or geronimo-jpa_2.0_spec-1.0.jar
- geronimo-jta_1.1_spec-1.1.jar
- serp-1.13.1.jar