Jalview 184.108.40.206 Source archive (.tar.gz) (201.4MB)|
Building Jalview from the Source Code
Jalview and the Jalview installers are built using Gradle and install4j.
Whilst Gradle is free to use, install4j requires a license. However you can still build Jalview as a working application without install4j.
Full details can be found in our
doc/building.md document in the tar archive, but in brief you will need:
- a Java 11 JDK and
- a recent (6.2 or later) version of Gradle.
There are several stages to which you can build the Jalview application, including its automatic updating launcher (Getdown), but the easiest to build and use is the Executable JAR.
Assuming a Java 11
javac and recent
gradle are in your PATH environment:
First download and unpack the tar archive (it unpacks into a
curl -O https://www.jalview.org/source/jalview_2_11_2_6.tar.gz tar -zxvf ./jalview_2_11_2_6.tar.gz
Change directory into the
Build the Jalview Executable JAR (shadowJar) using gradle:
If you want to build a Java 8 compatible JAR then run:
gradle shadowJar -PJAVA_VERSION=1.8
You should now be able to run Jalview using the Executable JAR file:
java -jar ./build/libs/jalview-all-TEST-j11.jar