Installing Hibernate 4.1.0
To install Hibernate 4.1.0 external jar files to the Hibernate 3rd party jars depot:
1. Create a Hibernate jar external depot:
export HIBERNATE_JAR_DIR=<Hibernate 3rd party jars depot>
2. Download the hibernate-release-4.1.0.Final.zip file from:
3. Click the “4.1.0.Final” link to download the zip file.
4. Extract the contents of the archive file:
unzip hibernate-release-4.1.0.Final.zip
Note: You must have Java JDK installed on the machine to use the jar command. Be sure to install the JDK that is supported for your platform.
5. Copy the jar files to your Hibernate jar directory ($HIBERNATE_JAR_DIR):
cp hibernate-release-4.1.0.Final/lib/optional/
ehcache/ehcache-core-2.4.3.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/optional/
ehcache/hibernate-ehcache-4.1.0.Final.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/
hibernate-commons-annotations-4.0.1.Final.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/
hibernate-core-4.1.0.Final.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/
hibernate-jpa-2.0-api-1.0.1.Final.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/
javassist-3.15.0-GA.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/
jboss-transaction-api_1.1_spec-1.0.0.Final.jar $HIBERNATE_JAR_DIR
6. Another package needs to be downloaded in order to get the jboss-logging-3.3.0.Final.jar.
Download the hibernate-search-5.5.4.Final-dist.zip file from:
7. Click the “5.5.4.Final” link to download the zip file.
8. Extract the contents of the archive file.
unzip hibernate-search-5.5.4.Final-dist.zip
9. Copy the jboss-logging-3.3.0.Final.jar file to your Hibernate jar directory ($HIBERNATE_JAR_DIR).
cp hibernate-search-5.5.4.Final/dist/lib/required/jboss-logging-3.3.0.Final.jar to $HIBERNATE_JAR_DIR