# Install Java

To install Pentaho, you will need to install a supported version of Java.

Perform the following steps to install a supported version of Java:

1. Check the [Components Reference](https://docs.pentaho.com/install/9.3-install/components-reference) to see which version of Java Pentaho supports.
2. Download the supported version of the JRE or JDK from the [Oracle website](http://www.oracle.com/technetwork/java/javase/downloads/index.html) and install it.
3. Set an environmental variable to point to your Java installation directory:
   * On Linux: `echo $JAVA_HOME=/usr/lib/jvm/jdk11.x.x.x`
   * On Windows: `SET $JAVA_HOME=C:\Program Files\Java\jdk11.x.x.x`
