Run IGB from the command line
To run IGB at the command line, download the latest release (igb_exe-VERSION.jar) from http://sourceforge.net/projects/genoviz/.
The following command runs IGB:
JAVA_OPTS="\ --add-opens=java.desktop/sun.swing=ALL-UNNAMED \ --add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED \ --add-opens=java.desktop/java.awt.event=ALL-UNNAMED \ --add-opens=java.desktop/sun.awt.windows=ALL-UNNAMED \ --add-opens=java.desktop/sun.java2d=ALL-UNNAMED \ --add-opens=java.desktop/sun.font=ALL-UNNAMED \ --add-opens=java.desktop/java.awt=ALL-UNNAMED \ --add-opens=java.desktop/sun.awt=ALL-UNNAMED \ --add-opens=java.base/java.lang=ALL-UNNAMED \ --add-opens=java.base/java.util=ALL-UNNAMED \ --add-opens=java.desktop/javax.swing=ALL-UNNAMED \ --add-opens=java.desktop/sun.swing=ALL-UNNAMED \ --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED \ --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED \ --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED \ --add-exports=java.desktop/sun.font=ALL-UNNAMED \ --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED \ --add-exports=java.desktop/com.apple.laf=ALL-UNNAMED \ --add-exports=java.desktop/com.apple.eawt.event=ALL-UNNAMED \ --add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED \ --add-exports=java.desktop/com.apple.laf=ALL-UNNAMED \ --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED \ --add-opens=java.desktop/java.awt.color=ALL-UNNAMED \ --add-opens=java.base/java.net=ALL-UNNAMED" java $JAVA_OPTS -Xmx1g -jar igb_exe-VERSION.jar
The Xmx1g flag is used to adjust IGB's maximum memory usage. For example, replacing the number with the value of "2" would set the heap size to 2 GB so that IGB can use 2 GB of memory.
Two or more instances of IGB can be opened at once by running the above code in a separate terminal window.
IGB command line options and arguments
-href [URL]
- Open an IGBÂ control bookmark.