Installing Hibernate 4.1.0
You must install Hibernate before installing the product.
To install Hibernate 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 https://sourceforge.net/projects/hibernate/files/hibernate4/.
3. Click the “4.1.0.Final” link to download the zip file.
4. Extract the contents of the archive file:
unzip -q hibernate-release-4.1.0.Final.zip
Note: You must have Java JDK installed on the machine to use the jar command. Make sure you install the JDK supported for your platform.
5. Copy the jar files to your Hibernate jar directory ($HIBERNATE_JAR_DIR) using the following commands:
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
cp hibernate-release-4.1.0.Final/lib/required/jboss-logging-3.3.0.Final.jar $HIBERNATE_JAR_DIR
cp hibernate-release-4.1.0.Final/lib/required/ehcache-core-2.5.2.jar $HIBERNATE_JAR_DIR