Before running Tripoli, you need to download Java and install it on your computer. Tripoli is written in the programming language Java, and it runs on your computer (Windows, Mac, or Linux) using the Java platform. Because it is open source, you can download the latest version of Java for free from several reputable distributors, including Liberica and Azul. You can pick your distribution as long as it includes JavaFX, which has support for rich graphics, and the version is 17 or higher. The following have been tested and work with Tripoli.
1Gather some information about your computer¶
You’ve probably needed this information before to install software on your computer. You should know:
- Your operating system: Linux, Mac, or Windows,
- Whether you have a 64-bit (probably) or a 32-bit processor (much older)
- Does your processor use the x86 or ARM architecture?
Newer Apple products use Apple Silicon (e.g., the M1, M2, etc chips) with an ARM architecture, and older Apple products with Intel chips and Windows machines usually use an x86-compatible architecture. For more information, google how to determine what type of processor is in your computer, then whether it is x86 or ARM.
2Download a Java Distribution¶
2.1Liberica Distribution (Choice 1, easier install)¶
- Go to the bellsoft Liberica page here.
- Scroll down past the banners the until you the list of 64-bit operating systems and options. If you have a 32-bit operating system, scroll down just a little farther.
- Underneath the name of your operating system, choose your processor architecture (x86 or ARM), then click on the dropdown menu and choose “Package: Full JRE”. For instance, on a Mac with an Intel processor, your choice would look like this, though version numbers are frequently updated:
- Click on the blue text link to the right corresponding to your favorite installer type. For a Mac, DMG and for Windows, MSI are easy to use.
- Once downloaded, run the installer, click through the prompts, and type in your password as needed. Congratulations, you’ve installed Java!
2.2Azul Distribution (Choice 2, more complicated)¶
- Go to the Azul distribution page here. This page should show you only downloads for Java 21 (LTS means long-term stable) and JRE packages (Java Runtime Environment -- what you need to run Java on your computer).
- In the set of dropdown menus at the top, choose your operating system and architecture. Alternately, find your operating system and architecture in the list below the dropdown menus.
- Hover your cursor over the dark blue Download button next to your OS and architecture, then choose a download file type. For Mac and Windows, a .zip file is good.
- Your download will start and a bunch of advertisements and some pop-ups will show up. Ignore them and find the .zip file in your browser or computer’s Downloads folder.
- Copy the .zip file to a dedicated folder on your hard drive, then unzip the folder and delete the .zip archive.
- Add the installation folder to your
PATH
environment variable. Don’t know how to do this? Google will help for your system, or just use Liberica (Choice 1). - Congratulations, you’ve installed Java!