Details
-
Type: Documentation
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:0.5
-
Epic Link:
-
Sprint:Summer 2: 22 Jun - 3 Jul
Description
Earlier in the month we received a notification from a user that IGB was failing to build on a Debian system.
Turns out the problem was lack of JavaFX on the system.
To make sure others do not encounter the same problem, we should check into this a bit more. Let's clarify which versions of Java can be installed using Debian package managers versus having to download them from Oracle. Let's summarize what we find here (in this ticket) and then update the README.md on the IGB repository.
See:
https://groups.google.com/forum/#!topic/integrated-genome-browser-help-desk/B5ReR-c_Po8
Attachments
Issue Links
- blocks
-
IGBF-2459 Post to Developers Group explaining how to build on Debian
- Closed
Cause of error and failure in build occurred due to below issue
igb-javafx-util: Compilation failure
This package needs java fx to be present
Testing is done on Debian 9(Stretch) using Maven: 3.6.3
Installation of oracle java was not successful on this OS with the default packages link showing 404 error in the apt installer.
Alternatively, I used the openjdk8 installation
This package does not have javafx by default and has to be installed seperately using below command
This builds the application successfully. Attached is the build details from the Debian 9 OS
Debian 10 does not seem to have openjdk available in its default repositories.
Below are the steps to install oracle java jdk on Debian 10.Note to the user: Ensure the right architecture package is used (either X64 java for 64 bit OS and X86 for a 32 bit OS)
Step 1. Download the correct Java from https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
This built IGB successfully on Debian 10(Buster)
[~aloraine] Please let me know if I should update the README.md to include the steps