-
Notifications
You must be signed in to change notification settings - Fork 402
Open
Description
I recently downloaded IGV_Linux_2.19.5_WithJava and ran it on my machine. Executing the igv.sh command yielded the following error:
echo Using bundled JDK.
openjdk version "17.0.15" 2025-04-15
OpenJDK Runtime Environment (build 17.0.15+6-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 17.0.15+6-Ubuntu-0ubuntu122.04, mixed mode, sharing)
Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: /mnt/barry/projects/gene_software/IGV/IGV_Linux_2.19.5/lib/igv.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 65.0
After inspecting the Bash script I noticed it does not actually export the PATH variable prepending the Java path:
if [ -d "${prefix}/jdk-21" ]; then
echo echo "Using bundled JDK."
JAVA_HOME="${prefix}/jdk-21"
PATH=$JAVA_HOME/bin:$PATH
else
echo "Using system JDK. IGV requires Java 21."
fi
After adding export before PATH=$JAVA_HOME/bin:$PATH, the problem was fixed and I was able to boot up IGV as normal.
Metadata
Metadata
Assignees
Labels
No labels