Cannot launch IGV under Windows 10

41 views
Skip to first unread message

Achim Schnaufer

unread,
Apr 22, 2024, 1:37:21 PMApr 22
to igv-help
Hello. I just installed IGV_2.17.4 under Windows 10. Java 1.8.0_411 was already installed and running (running java - version in the terminal confirms this). When I try to launch IGV by double-clicking either of the .bat files, a window very briefly opens (too short to see what it is and then nothing happens).

I tried reinstalling, no success. 

There is no .igv file or directory in my subdirectory in C:/Users. There is no igv0.log file anywhere to be found.

If I start igv.bat from the terminal, I get the output below.

Can anyone help?

Thanks,
Achim

C:\Program Files\IGV_2.17.4>igv

C:\Program Files\IGV_2.17.4>setlocal

C:\Program Files\IGV_2.17.4>for %x in (igv) do set BatchPath=%~dpsx

C:\Program Files\IGV_2.17.4>set BatchPath=C:\PROGRA~1\IGV_21~1.4\

C:\Program Files\IGV_2.17.4>for %x in (C:\PROGRA~1\IGV_21~1.4\) do set BatchPath=%~dpsx

C:\Program Files\IGV_2.17.4>set BatchPath=C:\PROGRA~1\IGV_21~1.4\

C:\Program Files\IGV_2.17.4>if exist C:\PROGRA~1\IGV_21~1.4\\jdk-17 (
echo "Using bundled JDK."
 set JAVA_HOME=C:\PROGRA~1\IGV_21~1.4\\jdk-17
 set JAVA_CMD=C:\PROGRA~1\IGV_21~1.4\\jdk-17\bin\javaw
)  else (
echo "Using system JDK."
 set JAVA_CMD=java
)
"Using system JDK."

C:\Program Files\IGV_2.17.4>if exist "C:\Users\aschnauf\.igv\java_arguments" (start java -showversion --module-path=lib -Xmx8g -Dproduction=true @igv.args -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -Djava.net.useSystemProxies=true @"C:\Users\aschnauf\.igv\java_arguments" --module=org.igv/org.broad.igv.ui.Main )  else (start java -showversion --module-path=lib -Xmx8g -Dproduction=true @igv.args -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -Djava.net.useSystemProxies=true --module=org.igv/org.broad.igv.ui.Main )

igv-help

unread,
Apr 22, 2024, 3:50:28 PMApr 22
to igv-help
It looks like when you ran IGV it was using the system Java, which you say is Java 1.8, however current versions of IGV require Java 17. 
You could either install Java 17 on your system -OR- download the IGV installer that includes Java and run that instead.

igv-help

unread,
Apr 22, 2024, 3:53:52 PMApr 22
to igv-help
Just to clarify if you are not used to the Java numbering - your system Java 1.8.0_411 means you are running Java 8 vs. the Java 17 required by IGV.

Achim Schnaufer

unread,
Apr 23, 2024, 5:43:34 AMApr 23
to igv-help
Thank you for your reply. I am confused, however, because Java insists I am running the latest version. I checked the Java download site, and the current version is the one I have.
The current Java version offered by Oracle is numbered 22, is that the one I should install? My understanding was that both implementations are built on the same specifications.

Achim Schnaufer

unread,
Apr 23, 2024, 5:56:16 AMApr 23
to igv-help
Ok, IGV does run with the version from Oracle. Problem solved, although I still don'y understand why the up-to-date version of Java from the Java.com website is not accepted.
Message has been deleted

igv-help

unread,
Apr 23, 2024, 6:42:58 PMApr 23
to igv-help
Because the latest version from Java.com is Java 8,  which is many years out of date.   IGV requires Java 17.
Message has been deleted

James Robinson

unread,
Apr 24, 2024, 12:03:56 PMApr 24
to igv-...@googlegroups.com
I think we have a semantics issue here,  the release you refer to is a maintenance (bug fix) release for Java 8.    The latest Java release is actually 22,  but again IGV requires Java 17.    See https://www.oracle.com/java/technologies/java-se-support-roadmap.html.

On Wed, Apr 24, 2024 at 2:26 AM Achim Schnaufer <aschn...@gmail.com> wrote:
I don't think you are correct. According to the Java website, Version 8 Update 411 was released on April 16 2024. I don't think you can compare the version numbers of the distributions from the Java and Oracle websites, and I have never had any issues with any other programs while using the former. But I am glad that IGV is now running. I am just noting this FYI. Best regards, Achim
--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/mJPcrirv9IU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/0b80f2a4-e094-4819-9d53-711fb18944cbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages