Liferay Classroom Training Prerequisites
What to Know 

Prior to attending a Liferay classroom training, we encourage students to complete the corresponding Learning Path available on Liferay Learn. Classroom training complements our online courses but does not replace them. 

By familiarizing yourself with the content before attending, we can use the training time to move at a faster pace and focus on more complex aspects of the Learning Path. Additionally, preparing beforehand will equip you to ask more meaningful questions and take advantage of discussions led by Liferay experts.

What to Bring
Git
Java JDK version 21
Liferay Blade CLI
4GB available RAM
10GB available disk space

We recommend you complete these activities before you attend the training. Although we’ll do everything we can to have WiFi available for the training, sometimes things happen beyond our control.

Completing these steps before you travel will minimize your dependency on the available WiFi.

Installing and Verifying Git
If you are using a Mac, you can use the application called "Terminal."
If you are using a Windows machine, you can use the Windows command prompt.
To verify if you already have Git installed, open up your terminal application.

$ git version
git version 2.44.0

The specific version of Git is not important, but if the Git command is not found or is “unknown,” instructions for installing Git can be found here: https://github.com/git-guides/install-git. Make sure you enable Git from the command line and also from third-party software.
Note: For classroom training, you do not need a GitHub account; you only need to have Git installed on your computer.
Installing and Verifying the JDK

You can find distributions of Java JDK 21 for all operating systems on this website: https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21 

You can download the JDK as a ZIP (Windows) or TAR.GZ (Linux/Mac) package. To install, extract the file in a folder of your choice, then set the JAVA_HOME environment variable to that folder.

Alternatively, you can install Java using native installers according to your OS. Instructions can be found here:

Verify the JDK is installed using the simple command:

$ java -version
openjdk version "21.0.5" 2024-10-15 LTS
OpenJDK Runtime Environment Zulu21.38+21-CA (build 21.0.5+11-LTS)
OpenJDK 64-Bit Server VM Zulu21.38+21-CA (build 21.0.5+11-LTS, mixed mode, sharing)

As long as the version reports as 21.0.0 or above and is also a JDK (not simply a JRE), you’re good to go.

Installing and Verifying Blade CLI

Instructions for installing Blade CLI can be found here: https://learn.liferay.com/w/dxp/liferay-development/tooling/blade-cli

Verify that Blade is installed and available using the following command:

$ blade version
blade version 6.0.0.202404102137

Your version should be equal or greater than the above version. If your version is older, then please update using the update command:

$ blade update

Class-Specific Requirements

In addition to these prerequisites, there will also be some class-specific instructions. These will be communicated to you prior to the start of the classroom training.