File: igvtools.bat

package info (click to toggle)
igv 2.6.3%2Bdfsg-3
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 211,600 kB
  • sloc: java: 123,124; xml: 28,779; sh: 252; php: 152; javascript: 102; makefile: 17
file content (15 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
setlocal
::Get the current batch file's short path
for %%x in (%0) do set BatchPath=%%~dpsx
for %%x in (%BatchPath%) do set BatchPath=%%~dpsx

if exist %BatchPath%\jdk-11 (
  echo "Using bundled JDK."
  set JAVA_HOME=%BatchPath%\jdk-11
  set JAVA_CMD=%BatchPath%\jdk-11\bin\java
) else (
  echo "Using system JDK."
  set JAVA_CMD=java
)

start %JAVA_CMD% -showversion --module-path=%BatchPath%\lib -Xmx1500m @%BatchPath%\igv.args --module=org.igv/org.broad.igv.tools.IgvTools %*