summarylogtreecommitdiffstats
path: root/igvtools.sh
blob: ec37ccd71a64090674d5136a760c05300aefc8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
java -Djava.awt.headless=true -Xmx1500m \
    --add-exports java.desktop/com.sun.java.swing.plaf.windows=jide.common \
    --add-exports java.desktop/javax.swing.plaf.synth=jide.common \
    --add-exports java.desktop/sun.swing=jide.common \
    --add-exports java.desktop/sun.awt=jide.common \
    --add-exports java.desktop/sun.awt.image=jide.common \
    --add-exports java.desktop/sun.awt.shell=jide.common \
    --add-exports java.desktop/sun.awt.dnd=jide.common \
    --add-exports java.desktop/sun.awt.windows=jide.common \
    --add-exports java.base/sun.security.action=jide.common \
    -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize \
    --module-path=/usr/share/java/igv \
    --module=org.igv/org.broad.igv.tools.IgvTools "${@}"
    # -jar /usr/share/java/igv/igv.jar

# Disable a JAXB optimization that causes illegal access exceptions on Java 11