summarylogtreecommitdiffstats
path: root/ib-tws
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-tws
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-tws')
-rwxr-xr-x[-rw-r--r--]ib-tws5
1 files changed, 3 insertions, 2 deletions
diff --git a/ib-tws b/ib-tws
index a498b88fcc5..0dfc9933d02 100644..100755
--- a/ib-tws
+++ b/ib-tws
@@ -1,4 +1,5 @@
#!/bin/bash
cd /usr/share/java/ib-tws
-$JAVA_HOME/bin/java -cp \* -Xmx512M -XX:MaxPermSize=128M jclient.LoginFrame $HOME/.ib-tws
-
+/usr/lib/jvm/java-8-jre/jre/bin/java -cp \* \
+ -Xmx768m -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true \
+ jclient.LoginFrame $HOME/.ib-tws