I extract the tasks below: - Open a terminal. - sudo nano /etc/profile.d/java.sh - Write: export JAVA_HOME=/opt/alfresco/java/jdk1.7.0_07 (or something similar) export PATH=$PATH:$HOME/bin:$JAVA_HOME/bin - Save and exit - java -version
Starting from here the Pentaho startup will reach the Java executable from the JAVA_HOME and path variables.