User Installation

The following steps are required in properly install AnkrPt Pairwise. Feel free to skip those already completed.

  1. Install JDK 11 or higher

  2. Download the jar file from Pairwise

Pairwise is ready to launch!

If you face troubles running GUI on macOS or Ubuntu install JavaFX manually.

Download and install JDK 11

JDK’s are available from many distributors, but in this guide, we will use Adoptium OpenJDK.

  1. Visit OpenJDK distribution from Adoptium and download JDK 11.

  2. Install JDK 11.

  3. Create environmental variables:

    1. JAVA_HOME that points to JDK 11

        installation 01 1
For java JDK installation refer to: installation for Windows, installation for macOS.

[Optional] Installing JavaFX on macOS:

  1. Go to https://gluonhq.com/products/javafx/ and download JavaFX Mac OS X SDK.

  2. Navigate to Downloads and unzip the file by double-clicking on it.

  3. In your terminal, run the command:

    export PATH_TO_FX="[path-to-unziped-javafx]/javafx-sdk-[verion]/lib"
  4. Run Pairwise in terminal with command:

    java --module-path $PATH_TO_FX --add-modules javafx.controls,javafx.fxml,javafx.swing -jar pairwise-1.00.RELEASE.jar
    You will need to do export PATH_TO_FIX step each time you’ll run terminal as variable does not carry over between terminal windows.

[Optional] Installing JavaFX on Ubuntu (18.04 or newer):

  1. Open a command line.

  2. Type "apt install openjfx" to get the package. It is installed to /usr/share/openjfx/lib.

  3. In terminal, run the command:

    export PATH_TO_FX="/usr/share/openjfx/lib"
  4. Run Pairwise in terminal with command:

    java --module-path $PATH_TO_FX --add-modules javafx.controls,javafx.fxml,javafx.swing -jar pairwise-1.00.RELEASE.jar
    You will need to do export PATH_TO_FIX step each time you’ll run terminal as variable does not carry over between terminal windows.