Explains how to prepare your computer for DI design tool installation.
To prepare the computer on which you plan to install the DI design tool and plugins, complete these tasks.
Install Java JRE or JDK
Make sure that the version of the Java Runtime Environment (JRE) or the Java Development Kit (JDK) that Pentaho needs to run is installed on your system. You do not need to uninstall other versions of Java if you already have them running on your system. These instructions explain how to check for your default version of Java that is running on your computer and where to get the required version if you need one.
- Check the supported technologies list to see which version of the JRE or JDK is needed for the software.
- If you have not done so already, log into the computer on which you plan to install the software. Ensure that you have the appropriate permissions to install software.
- Open a Terminal or a Command Prompt window. Enter this command.
- If the version of Java does not match the version needed to run Pentaho software, check your system to see if there are other versions of Java installed.
- If the version of Java that you need to run Pentaho software is not on your system, download it from the Oracle site and install it.
Set Environment Variables
Set the PENTAHO_JAVA_HOME variable to indicate the path to the Java JRE or JDK that Pentaho should use. If you do not set this variable, then Pentaho will not start correctly.
To set environment variables, you should be logged into an account that has administrator-level privileges. For Linux systems, you must be logged into the root user account.
Set Windows PENTAHO_JAVA_HOME Variable
- From the Start menu, right-click Computer, then select Properties from context menu.
- Click Advanced System Settings. The System Properties window appears.
- In the System Properties window, click the Advanced tab, then click Environment Variables.
- To set the PENTAHO_JAVA_HOME variable do this.
- In the System Variable section, click New.
- In the window that appears, type PENTAHO_JAVA_HOME in the name field.
- In the value field, enter the directory where your Oracle JDK or Oracle JRE is stored. For example your Java JRE is in the Program Files\Java\jre7 directory, type this.
- Click OK.
- Click Apply Changes.
- Log out, then log back in.
- To verify that the variables have been properly set, open a Command window and type this.
Set Linux PENTAHO_JAVA_HOME Variable
- Open a terminal window and log in as root.
- Open the /etc/environment file with a text editor. Note:The vi and gedit text editors are available on most Linux machines. For example, to open the /etc/environment file with gedit, type this.
- Indicate where you installed Java in your /etc/environment file by typing this. Note: Substitute /usr/lib/jvm/java-7-sun with the location of the JRE or JDK you installed on your system.
- Save and close the file.
- Log out, then log back in for the change to take effect.
- Verify that the variables are properly set by opening a Terminal window and typing this.
env | grep PENTAHO_JAVA_HOME