Programming Languages
Below are the steps to install the most commonly used programming languages in LATAM Airlines projects:
OpenJDK
Consider the lifecycle of Eclipse Temurin, which is the base image used for building Java applications at LATAM Airlines.
| Version | Release Date | Security Support |
|---|---|---|
| 25 (LTS) | 2025-09-22 | 2031-09-30 |
| 21 (LTS) | 2023-10-10 | 2029-12-31 |
| 17 (LTS) | 2021-09-22 | 2027-10-31 |
| 11 (LTS) | 2021-08-01 | 2027-10-31 |
| 8 (LTS) | 2021-07-29 | 2030-12-31 |
- macOS
- Windows
- Linux
brew install openjdk
First you need to install Windows Subsystem for Linux (WSL).
Follow the instructions at https://docs.microsoft.com/en-us/windows/wsl/install
Download JDK from the following link:
Linux is not officially supported at LATAM Airlines.
# Version 21 LTS
sudo apt install openjdk-21-jdk
# Version 25 LTS
sudo apt install openjdk-25-jdk
java -version
Gradle Configuration
Gradle is a build automation tool for our code that builds upon the contributions made by tools like Ant and Maven, but attempts to take it all a step further.
To start, it relies on Groovy and a DSL (Domain Specific Language) to work with a simple and clear language when constructing the build compared to Maven.
On the other hand, it has great flexibility that allows working with it using other languages and not just Java. In addition, it has a solid dependency management system.
- Download link: https://gradle.org
- Available distributions: https://services.gradle.org/distributions/
Gradle runs on all major operating systems and only requires the installation of a Java JDK version 8 or higher.
- macOS
- Windows
- Linux
brew install gradle
First you need to install Windows Subsystem for Linux (WSL).
Follow the instructions at https://docs.microsoft.com/en-us/windows/wsl/install
The entire manual installation process can be found at https://gradle.org/install/#manually
- Download the latest Gradle distribution
- Unzip the distribution:
- Create a new directory
C:\Gradlewith File Explorer. - Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded.
- Double-click the ZIP file to view the content.
- Drag the content folder
gradle-${version}to your newly createdC:\Gradlefolder. - Alternatively, you can unzip the Gradle distribution ZIP into
C:\Gradleusing a compression tool of your choice.
- Create a new directory
- Configure your system environment
- In File Explorer, right-click on the
This PC(orComputer) icon, then click onProperties->Advanced system settings->Environment Variables. - In
System VariablesselectPath, then clickEdit. - Add an entry for
C:\Gradle\gradle-${version}\bin. - Click OK to save.
- In File Explorer, right-click on the
Linux is not officially supported at LATAM Airlines.
-
Download the latest Gradle distribution.
Example of the version to downloadversion=9.2.1wget https://services.gradle.org/distributions/gradle-${version}-bin.zip -
Unzip the distribution
Unzip the distribution zip file into the directory of your choicemkdir /opt/gradleunzip -d /opt/gradle gradle-${version}-bin.zipln -s /opt/gradle/gradle-${version} /opt/gradle/latest -
Configure your system environment
Create /etc/profile.d/gradle.sh with the following content:export GRADLE_HOME=/opt/gradle/latestexport PATH=${GRADLE_HOME}/bin:${PATH}Give execution permissions to the scriptchmod +x /etc/profile.d/gradle.shsource /etc/profile.d/gradle.sh
Verify your installation:
gradle -v
NodeJS
NodeJS is a cross-platform runtime environment for the server layer (server-side) based on JavaScript.
It is event-driven and was designed to build scalable applications, allowing you to establish and manage multiple connections at the same time. Thanks to this feature, you don't have to worry about process blocking, as there are no locks.
More information can be found at: https://nodejs.org/en
| jq -r '.result.releases[] | select(.isMaintained) | select(.isLts) | select(.isEol|not) | ["|" , .label, "|", .releaseDate, "|", .eolFrom, "|"] | @tsv'
-->
| Version | Release Date | Security Support |
|---|---|---|
| 24 (LTS) | 2025-05-06 | 2028-04-30 |
| 22 (LTS) | 2024-04-24 | 2027-04-30 |
| 20 (LTS) | 2023-04-18 | 2026-04-30 |
- macOS
- Windows
- Linux
brew install node npm
First you need to install Windows Subsystem for Linux (WSL).
Follow the instructions at https://docs.microsoft.com/en-us/windows/wsl/install
- Download the Installer:
- Open your web browser and go to the official Node.js website.
- The website offers two versions: the LTS (Long-Term Support) version (recommended for most users due to its stability) and the Current version (for the latest features).
- Click the button to download the Windows Installer (.msi) for the recommended LTS version. The site should automatically detect if you need the 64-bit or 32-bit version.
- Run the Installer:
- Locate the downloaded
.msifile and double-click it to start the Node.js Setup Wizard. - If a security prompt appears, click
Yesto allow the app to make changes to your device.
- Locate the downloaded
- Follow the Setup Wizard:
- Click
Nexton the welcome screen. - Read and accept the license agreement by checking the box, then click
Next. - Choose the installation destination folder (the default location is usually fine) and click
Next. - On the "Custom Setup" screen, ensure that "Add to PATH" is selected, as this allows you to run Node.js commands from any terminal window.
- Click
Next. You can optionally choose to install necessary tools for native modules on the next screen, which may require Python and Visual Studio build tools, but this is not essential for basic use and can be skipped or installed later. - Click
Installto begin the installation process.
- Click
- Finish the Installation:
- Once the installation is complete, click
Finishto exit the setup wizard
- Once the installation is complete, click
Linux is not officially supported at LATAM Airlines.
-
Update the system before starting (Ubuntu/Debian)
sudo apt updatesudo apt -y upgrade -
Add Node.js APT repository (Ubuntu/Debian)
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificatescurl -sL https://deb.nodesource.com/setup_24.x | sudo -E bash - -
Install Node.js and npm:
sudo apt -y install nodejs npm
Verify the installation:
node -v
npm -v