These installation notes relate to the latest release version 2.11.3.2
 Jalview Launch file (.jvl) for the Release channel (51B)
SHA256: 297f442b90baaec27a7f4345376a343e92fa37f5184df8c6334ae2e0d09d2519

Using the Jalview Launch file

Downloading the Jalview Release JVL File above and opening it with an installed Jalview app will reconfigure the app so it will open up the current release version. The app will also automatically download future releases when they become available.

Remember! You only need to do this if you previously moved your Jalview application onto a different channel.

Opening JVL files

If your web browser has linked JVL files with Jalview then you should just be able to download the file and “Run with Jalview” (or similar). If this is not an option then you might be able to double click on the file, or drag and drop the file onto your Jalview application icon to launch Jalview on the release channel.

What is a Jalview Launch file?

JVL Files are special text files read by Jalview’s Desktop apps that control the way that the app launches Jalview. They also provide a way to change the update channel that the Jalview Desktop app checks. Confusingly, that means you can use any installed Jalview Desktop app (from Jalview 2.11 onwards) to launch any version of Jalview, providing there is a JVL file available.

To avoid confusion we actually provide three different Jalview Desktop apps: Jalview, Jalview Test, and Jalview Develop. Each app is configured to check one of the three Jalview update channels and download the latest verson available. If you just want to run the latest stable version of Jalview, download an installer for your platform.

Creating your own Jalview launch file

Jalview Launch (JVL) files are simply text files that contain key=value pairs for a number of arguments that control how Jalview is launched via a Jalview Desktop App. In addition to changing the currently configured Update Channel, the JVL file can also control how much memory Jalview requests, or pass command line arguments. Unlike the update channel configuration, command line arguments and memory settings will not be remembered the next time the Jalview Desktop App is launched.

Channels

A powerful feature of the JVL file is that it can also change which part of the Jalview website Jalview looks for updates. We call this changing the “channel” that Jalview is updating from. The vast majority of users will never need to do this as Jalview installs itself using the Release channel which will keep that Jalview installation up to date with the latest stable release of Jalview.

We have several standard channels: Release, Test and Develop. These are each easily accessed using their corresponding Desktop apps: Jalview Release, Jalview Test, or Jalview Develop. Each app is configured to follow the relevant channel when launched and maintains its own configuration and user preferences.

It is also possible to switch to a specific “branch” channel that might have a feature in development, or a bugfix that needs to be tested before the code is merged to the develop or release branches. These channels are usually hosted on Jalview’s build server https://builds.jalview.org/. Lastly, old versions are archived with their own release channels and JVL files, linked via Version Archive.

Properties

Here are the main properties you might want to set:

appbase

This sets the location of the channel that Jalview will switch to (and then stay on until changed back).

e.g. the Release channel (for Java 8) is

appbase = https://www.jalview.org/getdown/release/1.8

jalview.apparg

This passes an argument to Jalview similarly to when you open Jalview using the command line. This property can be used multiple times and the arguments appear in the order they are listed in the JVL file. A full list of Jalview command line arguments can be found in the Help pages.

e.g. To open an alignment file along with a specific features and/or annotations file you could use the following JVL file (note that paths could be on your filesystem):

jalview.apparg = open
jalview.apparg = https://www.jalview.org/examples/plantfdx.fa
jalview.apparg = features
jalview.apparg = https://www.jalview.org/examples/plantfdx.features
jalview.apparg = annotations
jalview.apparg = https://www.jalview.org/examples/plantfdx.annotations

jvmarg

These are arguments passed to the Java JVM (not to the Jalview application).

e.g. To set the Java property laf to “nimbus” you could use a JVL file with the line:

jvmarg = -Dlaf=nimbus

jvmmempc

This tries to set the Java JVM memory stack to a percentage of memory available on your machine. Note that this can only work if the JVM can detect this amount (which is usually the case, but if you are using a non-standard JVM this might not work). The default is 90. jvmmempc and jvmmemmax work best together.

e.g. To set the memory stack to 10% of memory use:

jvmmempc = 10

jvmmemmax

This is an absolute cap on how much memory is allocated to Jalview, even if the jvmmempc argument would assign more. If your machine’s memory has been detected, the default is 32GB. If your machine’s memory has not been detected, the default is 8GB. You can use a k, m, g or t suffix to represent kilobytes, megabytes, gigabytes or terabytes. jvmmempc and jvmmemmax work best together.

e.g. To set a memory cap of 1.5GB use a JVL file with the line:

jvmmemmax = 1536m

Gradle logo
Install4j logo
Thanks to ej-technologies for granting a free install4j license to the Jalview Open Source Project. Jalview's desktop installers were built with the install4j multi-platform installer builder and Gradle.