Closed hmate9 closed 1 year ago
The TWS installer comes with its own JVM that isn't compatible with mac silicon.
You get the following error:
#0 6.724 Error unpacking jar files. The architecture or bitness (32/64) #0 6.724 of the bundled JVM might not match your machine.
Here is a nice writeup on how you can get around this by overriding the JVM used by the installer: https://trenki2.github.io/blog/2018/01/04/trading-with-raspberry-pi/
Note: you will need to download the installer sh file locally and modify it instead of using wget in the dockerfile.
sh
wget
Just leaving this info here in case someone else runs into this same issue.
The TWS installer comes with its own JVM that isn't compatible with mac silicon.
You get the following error:
Here is a nice writeup on how you can get around this by overriding the JVM used by the installer: https://trenki2.github.io/blog/2018/01/04/trading-with-raspberry-pi/
Note: you will need to download the installer
sh
file locally and modify it instead of usingwget
in the dockerfile.Just leaving this info here in case someone else runs into this same issue.