summarylogtreecommitdiffstats
path: root/ib-gw
diff options
context:
space:
mode:
authorBen Alex2017-05-31 10:13:03 +1000
committerBen Alex2017-05-31 10:13:03 +1000
commit07fb6766568355291a11e79a372ee832a1ef5fd0 (patch)
tree1c4df2c8e7dcfb3b9c79c5749172550536e92be1 /ib-gw
parentb6db04acbb9509f06da8af47429430cf6c3b8254 (diff)
downloadaur-07fb6766568355291a11e79a372ee832a1ef5fd0.tar.gz
Minimal changes to use Oracle JRE
This fixes the reported bug where launch halts at the "Processing startup parameters" stage. It now appears Oracle JRE is required. Some testing was performed with the java-openjfx package, which allowed launch but no interaction with the resulting application window was available. It is noted the ib-gw script to load IB Gateway appears to work without needing the Oracle JRE, but separating the packages is of limited value given the relatively limited number of expected deployments and the already high maintenance cost of this package.
Diffstat (limited to 'ib-gw')
-rwxr-xr-x[-rw-r--r--]ib-gw2
1 files changed, 1 insertions, 1 deletions
diff --git a/ib-gw b/ib-gw
index d974ee519fb..4167226ca93 100644..100755
--- a/ib-gw
+++ b/ib-gw
@@ -1,4 +1,4 @@
#!/bin/bash
cd /usr/share/java/ib-tws
-$JAVA_HOME/bin/java -cp \* -Xmx512M -XX:MaxPermSize=128M -Dsun.java2d.noddraw=true ibgateway.GWClient $HOME/.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