Skip to content

Instantly share code, notes, and snippets.

@FelikZ
Last active October 21, 2021 14:20
Show Gist options
  • Save FelikZ/3b426adfdc7ad31b75d8454e397cde95 to your computer and use it in GitHub Desktop.
Save FelikZ/3b426adfdc7ad31b75d8454e397cde95 to your computer and use it in GitHub Desktop.
Update Trader Workstation java version (IBKR) interactive brokers MacOS / OSX / Mac (tested on Monterey)
  1. Install latest java from java.com
# Make current JRE backup
mv /Users/$USER/Applications/Trader\ Workstation/.install4j/jre.bundle/Contents/Home/jre \
 /Users/$USER/Applications/Trader\ Workstation/.install4j/jre.bundle/Contents/Home/jre.bak

# Link fresh installed java to workstation
ln -sf \
  /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home \
  /Users/$USER/Applications/Trader\ Workstation/.install4j/jre.bundle/Contents/Home/jre
  1. Update /Users/$USER/Applications/Trader Workstation/tws.vmoptions to give more RAM to the app (will run faster).
-Xmx2048m
-Xms2048m
  1. Star this gist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment