Skip to content

Open JDK guide

Priyatham edited this page May 25, 2022 · 1 revision

There are two famous JDKs are available. They are:

  • Oracle proprietary JDK
  • AdoptOpenJDK - Open Source

Here, we shall provide guide using the AdoptOpenJDK as it's an open source tool. The Open JDK tools that we use to create Android applications using PythonFMXBuilder are:

  • Key tool
  • JAR signer

AdoptOpenJDK is moved to Eclipse Foundation and rebranding as Eclipse Temurin. Please download the latest JDK with the following link: https://adoptium.net/temurin/releases/?version=18

There are two options to download and install JDK. They are:

  • Downloading .msi installer
  • Downloading the .zip folder.

The .msi based installation process is pretty straightforward. The JDK will be installed at the path: C:\Program Files\Eclipse Adoptium\jdk-18.0.1.10-hotspot\ by default. You can provide this as a JDK base path in the JDK Settings of the PythonFMXBuilder application in Environ settings.

The steps to follow when downloading the .zip folder are:

  • Unzip the folder to locate the jdk folder in it. This serves as the JDK base path in JDK Settings in Environ settings.

In my case, I downloaded and unzipped it to the Downloads folder. Clean/Delete the fields in the KeyTool location and JARSigner location fields and update the JDK base path. Then press on any one of the below fields to grab their paths automatically.

Please check the below image for reference:

image

Clone this wiki locally