¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Download page for IB Gateway...


couldvot
 

As explained to me by support we now have an "improved" way of downloading the Gateway via the IB logon screen, and selecting IB Gateway.

As explained by Ben's earlier post on Linux this downloads a whole lot of "stuff" including a complete java install.
On my Ubuntu machine the new Gateway (ver 952) installs:
$HOME/Jts? (the 2 gateway jars are in $HOME/Jts/ibg/952/jars)
$HOME/.i4j_res (a whole java runtime)
$HOME/.java

.. but it does seem possible to run the new Gateway the "old" way if like me you prefer to keep things simpler and reduce memory footprint.
This bash script worked ok and brought up the Gateway (I will need to test it more thoroughly before I use it in prod).

#!/bin/bash
PROCESS_NAME="ibgateway.GWClient"
echo "starting IBG Gateway"
nohup java -cp jars/jts.jar:jars/total.jar -Dsun.java2d.noddraw=true -Xmx256M ibgateway.GWClient . > ./ibg-gw.log & 2>&1
echo "Started $(date) PID:$(pgrep -f $PROCESS_NAME)"

Andy

Join [email protected] to automatically receive all group messages.