Clarity Environment Prerequisites
Throughout this course, you'll use a local Liferay environment to implement Clarity's enterprise website. Before moving forward, complete these prerequisites to prepare your system for the following exercises:
- Git
- Java JDK 21
- Blade CLI
Git
To verify Git is installed and ready for use, open a terminal window and run this command:
If you're on Windows, use Command Prompt, PowerShell, or BASH to execute terminal commands.
This returns the version of your git installation. For example,
If the Git command is not found, please see official documentation for how to install Git for your OS (macOS|Windows|Linux/Unix).
Java JDK 21
This course requires Java JDK 21. You can find the appropriate OpenJDK distribution for your OS here. 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 (macOS|Windows|Linux).
Once you've installed Java JDK 21, open a terminal window and run this command to ensure it is ready for use:
The JDK version appears. For example,
If it does not, you may need to perform additional troubleshooting steps that are beyond the scope of this course. Please see the relevant Java JDK installation documentation for your system.
Blade CLI
Liferay provides Blade CLI to simplify many development tasks. You can use it to create new workspaces, get server bundles, spin up Liferay instances, and more. For this course, Blade is strongly recommended. Before proceeding, see Blade CLI for installation instructions.
Once installed, run this command to verify Blade is ready to use:
It should return the CLI's version:
If the output indicates there is a newer version, run this command to update it:
Great! With the prerequisites in place, let’s set up your Liferay environment.
Conclusion
Great! With the prerequisites in place, let's explore Liferay Workspaces and set up your Clarity environment.
Capabilities
Product
Education
Contact Us