O'Reilly logo

Pentaho 5.0 Reporting by Example Beginner’s Guide by Dario R. Bernabeu, Mariano García Mattío

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – installing JDK and configuring the environment variables

To configure the JAVA_HOME and PATH variables, follow these steps:

Installing on a LINUX environment:

  1. Install JDK 1.7. You can go to the official Java website (www.java.com), download the installer file and then execute it in your operating system. Or you can execute the following commands in a terminal:
    shell> sudo add-apt-repository ppa:webupd8team/java
    shell> sudo apt-get update
    shell> sudo apt-get install oracle-java7-installer
  2. Write the following command in the terminal:
    shell> sudo gedit /etc/environment
  3. Add a line in this file that contains the following (or similar, depending on each environment):
    JAVA_HOME="/usr/lib/jvm/java-7-oracle"
  4. To the beginning of the value of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required