开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Install TWS or IB gateway on Ubuntu and ARM64 bit processor


 

开云体育

Thanks Richard and Scott. Let me try.?

On 9 Sep 2018, at 05:39, Richard L King <rlking@...> wrote:

Thanks for that Scott. Looks like there’s no need for me to do anything.

?

Derek, just download and install the ARM 64 Java SE Development Kit from here:

?

?

The script that Scott offered should locate the Java and do everything to launch Gateway without further ado, once you’ve copied the Jts folder over as Scott describes.

?

Good luck.

?

Richard

?

?

?

From: [email protected] <[email protected]> On Behalf Of MochaSatin
Sent: 08 September 2018 21:25
To: [email protected]
Subject: Re: [TWS API] Install TWS or IB gateway on Ubuntu and ARM64 bit processor

?

Derek,

?

I remembered a few other things so here is a follow up on running gateway on an ARM.? The installation will fail when installing a fresh IB or TWS download on an Arm Linux machine.? So the workaround is to install on an x86-X64 desktop, then compress and copy the 'Jts' folder onto the Arm filesystem.? Then used a modified script like the one I sent in the last post.? Make sure you install the Jts on the Arm in an identical file structure as your x86-x64 or you will get path errors.? For example, install in "/home/johndoe/Jts" in both the x86-64 and the Arm. As Richard indicated, the jar files will run fine on the Arm once started correctly, it is the install and startup scripts that are messing things up.??

?

Scott

?

On Sat, Sep 8, 2018 at 3:59 PM, MochaSatin <scott@...> wrote:

Derek,

?

You have to hack the ibgateway script to run correctly on Arm processor.? Do a diff on the attached script to see the changes I made to run the gateway.? I have run it on both a pi3 and and xu4.

?

Scott

?

On Sat, Sep 8, 2018 at 5:20 AM, Derek Fung <ibmderekfung@...> wrote:

Hi Richard,

?

Apologize for the late response.? Last week was engaged with other urgent things.

?

Yes, I am interested to try, please share with me.??

?

And which version of Orace Java for ARM that I should install?

?

Thanks!

?

Derek

?

On Tue, Sep 4, 2018, 01:22 Richard L King <rlking@...> wrote:

I think the problem here is that the TWS and Gateway installers now include their own ‘hidden’ copy of Java, this being an Oracle Java that I pretty much guaranteed to work well with that particular version of TWS/Gateway. The rationale for this is that a) it means the user doesn’t have to take the trouble to install and maintain a suitable Java version; and b) this should reduce support problems for IB because in theory the user will not accidentally use an incompatible Java version.

?

Now, the actual Java compiled class files, being pure Java, are I believe identical on all platforms for TWS and Gateway, and should run with any Java VM. So in theory you should be able to install TWS/Gateway on another machine (Ubuntu perhaps or even Windows) and then just copy the relevant jar files over to the ARM machine. You’d then need to install a suitable Java on the ARM machine: I don’t know whether Oracle produce a Java version for the ARM architecture, but if they don’t you might be able to find another implementation. Ah, I’ve just discovered that indeed Oracle do support ARM.

?

Once you’ve got the JAR files and the Java runtime in place, it should just be a matter of using an appropriate Java command with the correct arguments to start the thing off. I can help with that because that’s exactly what IBC/IBController do under the covers.

?

So if you think this might be an avenue worth pursuing, then please let me know and get Oracle Java installed . I’ll then post the details of which jar files to copy, and the appropriate Java command (I can’t be bothered to go and look this up unless you’re actually going to use it).

?

Needless to say, there’s no guarantee this will work, but there’s also no obvious reason why it won’t.

?

Richard

?

?

?

From: [email protected] <[email protected]> On Behalf Of Derek Fung
Sent: 03 September 2018 17:56
To:
[email protected]
Subject: Re: [TWS API] Install TWS or IB gateway on Ubuntu and ARM64 bit processor

?

This is the error screen I have.?

?

Seems it is related to Java.?

?

?


On 4 Sep 2018, at 00:23, mark collins <mark.collins@...> wrote:

Hey Derek,

I use ubuntu all the time for my gateway and tws machines, the ARM64 thing might be a bit odd though, I've no experience with that.
Does it state that your java version is wrong or is that a guess? If its as statement then it's a fairly good thing to look at updating, if it's a guess, well... ummm... maybe?!

Best wishes,

M

?

?

On 3 September 2018 at 17:06, Derek Fung <ibmderekfung@...> wrote:

Hi,

?

Has anyone installed TWS or IB gateway successfully on ARM64 bit processor and Ubuntu?? I have problem in installation. Guess it is because the JVM is not supported.? Any suggestion?

?

Derek?




--

(T) +44 (0) 131 2202413 ?? (M) +44 (0) 7528 551604 ? (W)
Gulfstream Software - Winner Risk Management Awards 2010
This message is subject to :

?

?

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