trenki2 / trenki2.github.io

Trenki's Dev Blog
0 stars 0 forks source link

Simplified IB Gateway installation on non-x86 #1

Closed jkearneyma closed 6 years ago

jkearneyma commented 6 years ago

Hi, I came across your post when installing IB gateway on a ARM board. Thanks, it was helpful.

I did find that there's an easier way to do the install than create a VM. The key is that the installer script works pretty much the same as the runner script. So you can do it all on the ARM system:

wget https://download2.interactivebrokers.com/installers/ibgateway/stable-standalone/ibgateway-stable-standalone-linux-x64.sh chmod +x ibgateway-stable-standalone-linux-x64.sh vim -b ibgateway-stable-standalone-linux-x64.sh # now edit the INSTALL4J_JAVA_HOME_OVERRIDE as you described # and edit the version check "$ver_patch" -gt "152" to cover the range of your JVM (I just used 199) # write and exit vim with :x ./ibgateway-stable-standalone-linux-x64.sh # installer will run vim -b Jts/ibgateway/*/ibgateway # make the same changes as above

trenki2 commented 6 years ago

Thanks, I tried it and it works.