path: root/ib-gw
diff options
authorBen Alex2017-05-31 11:17:06 +1000
committerBen Alex2017-05-31 11:17:06 +1000
commitc4b74114f2e4b50d7c94ff30eed221987daf3d5f (patch)
tree357c7dbc386693464349038461e374c2d839a7c6 /ib-gw
parent07fb6766568355291a11e79a372ee832a1ef5fd0 (diff)
Refactor to include bundled Oracle JRE in package build
I've tried to avoid this as long as practical, but the recent option of JavaFX by TWS leaves little choice. This commit bundles the IB-provided Oracle JRE into the ib-tws package. It is kept in a private directory specifically for TWS use. Both IB Gateway and TWS now use the bundled Oracle JRE. The IB Controller sister package has also been updated to reflect this change.
Diffstat (limited to 'ib-gw')
1 files changed, 2 insertions, 2 deletions
diff --git a/ib-gw b/ib-gw
index 4167226ca93..f66e779c2d2 100755
--- a/ib-gw
+++ b/ib-gw
@@ -1,4 +1,4 @@
-cd /usr/share/java/ib-tws
-/usr/lib/jvm/java-8-jre/jre/bin/java -cp \* -Xmx512M -XX:MaxPermSize=128M -Dsun.java2d.noddraw=true ibgateway.GWClient $HOME/.ib-tws
+cd /usr/share/ib-tws/jars
+/usr/share/ib-tws/jre/bin/java -cp \* -Xmx512M -Dsun.java2d.noddraw=true ibgateway.GWClient $HOME/.ib-tws