PRE-INSTALL

POST-INSTALL
add the following variable to your environment:
JAVA_HOME=/usr/lib/java