OSX 10.10.2 use of native systems Java

Questions about Wine on macOS.
Locked
d_rankin
Newbie
Newbie
Posts: 2
Joined: Thu Mar 19, 2015 2:04 am

OSX 10.10.2 use of native systems Java

Post by d_rankin »

G'd morning y'all!

I'm having a couple of issues doging some problems concerning a wine app on my OSX10.10.
And honestly speaking, it's more a question of performance.

So far, I'm running NinjaTrader which connects to TWS for the datafeed via localhost. NinjaTrader is a win-prog and TWS is an java-app.
All works well in wine.

But what i'm trying to do is to run NinjaTrader (in wine) connecting to my standalone native TWS (OSX) via localhost.

But every time i start the NinjaTrader, it opens up the TWS in wine.

Anyone already tried to cross-connect programms? Is this possible?

Thx in advance y'all!
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: OSX 10.10.2 use of native systems Java

Post by olivierfrdierick »

The client should connect to whatever server is at the end of the connection port.
Did you start the OSX server before the Windows client?
If the server is not running before the client, the client'll probably launch the server itself, and it'll be the Windows one.
Or the client opens an URL that Wine handles as a call to a Windows command?

Configure different port numbers in the OSX and Windows servers so that the client connects only to the one you want.

Link: NinjaTrader™ Connection Guide
d_rankin
Newbie
Newbie
Posts: 2
Joined: Thu Mar 19, 2015 2:04 am

Re: OSX 10.10.2 use of native systems Java

Post by d_rankin »

Thx for the reply!

Indeed I tried that, but even though NT starts up the Windows TWS and tries to connect to that one. Because I change the ports and client ID it cant get any data feed and routing, but it still doesn't connect to the MAC TWS :'(
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: OSX 10.10.2 use of native systems Java

Post by olivierfrdierick »

Locked