igvtools not running, issue with java
2
0
Entering edit mode
3.4 years ago

I am having a hard time running igvtools from the command line on my Mac (MacOS Big Sur 11.2). I installed IGV 2.10.0 using the 'Command line IGV and igvtools for all platforms' link with the following code:

wget https://data.broadinstitute.org/igv/projects/downloads/2.10/IGV_2.10.0.zip
unzip IGV_2.10.0.zip

When I try running any program of igvtools (count for example, though I get the same error just trying to run help) I get the following error:

Using system JDK.
Unrecognized option: --module-path=IGV_2.10.0/lib
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

If it should be useful, here are the results of 'java -version':

java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

Any help on getting IGV and igvtools properly installed so I can run it from the command line? I could easily install the MacOS app and could run from there but I would really like to run from the command line.

Also, I had the same error when I tried an earlier version of IGV (2.9.5).

Thanks in advance.

igv jdk igvtools java • 1.9k views
ADD COMMENT
1
Entering edit mode
3.4 years ago
GenoMax 147k

Command line version requires Java 11 (LINK) so you will need to install that.

ADD COMMENT
0
Entering edit mode

Love simple fixes.. this worked perfectly, thanks so much!

ADD REPLY
0
Entering edit mode
3.4 years ago
noodle ▴ 590

Alternatively you can create a conda environment and install this way, all the correct dependencies should install automatically.

ADD COMMENT

Login before adding your answer.

Traffic: 2467 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6