Which Quarch Software requires Java?
Version required
As of mid 2024, all Quarch applications have migrated to Java21
Where possible, we now package all the required Java libraries, so there should rarely be a need to install Java at all.
If you chose to download a simple .jar version, or we do not have a full packaged installer for your OS, then you will require Java 21 and JavaFX
For running our java software we recommend installing Corretto 21, found here: https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/downloads-list.html
Tips and troubleshooting
If you are missing JavaFX, you will get an exception when you try to run the application.
This will normally look like “Exception in thread Main” and “java.land.NoClassDefFoundError”
If this happens, you need to install JavaFX or a version of Java which includes it
Using Amazon Corretto avoids the problem where JFX is not packaged with versions of Open Java in Linux distributions, which we talk about in our blog: Getting Java programs running on Ubuntu: OpenJDK and OpenJFX issues
Using Java with Fedora 27 Systems:
Swapping between java installations using ‘alternatives’ – Linux
For Linux based operating systems, you can have several installs of java on the machine and swap between them. See the command:
sudo update-alternatives –config java