Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

can't find java executable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can't find java executable

    Hi there,
    I recently bought a new hard drive and did a fresh install of ninjatrader. I restored a backup from my previous version and now when I try and connect to my interactive brokers account I am getting a message:

    Login failed: can't find java executable at "C\\windows\system32\..\sys....

    Unable to start TWS


    I do have java installed, it is in system32 folder, thoughts?

    is this related to mismatch of TWS and NT? I have the latest of each.

    Thanks.

    #2
    Hello slocumtrader,

    Thank you for your post.

    Which version of NinjaTrader are you using? (Help > About)

    Which build of Interactive Brokers TWS are you using? (Help > About Trader Workstation)
    KyleNinjaTrader Customer Service

    Comment


      #3
      Hi Kyle,
      Thanks for the fast response. I actually forgot to 'check' the enable activate activeX box within TWS. Single connections are now working. But now I have another problem. I am trying to connect two different IB accounts at the same time. I hear this is possible. I changed the port numbers on each, and gave one connection a client ID of 1, as apposed to default 0. So within Ninjatrader it looks like this:

      connection A: port 7497 client ID #1
      connection B: port 7496 client ID #0

      i changed the port respectively within TWS, not the ID number though ( do you need too? )

      here is the error message I am getting:
      login failed: IB.Adapater.MessageLoop No connection could be made because the target machine actively refused it

      here are the versions I am using:
      NT: 7.0.1000.14
      TWS: 939.2

      Thanks!!

      Comment


        #4
        Hello,

        Client ID will need to be set within TWS as well.

        You will also need to shut down NinjaTrader and TWS then roll back to the recommended 938.1 build of TWS via this link: http://www.ninjatrader.com/ninjatrad...tall_938_1.exe
        KyleNinjaTrader Customer Service

        Comment


          #5
          Hi Kyle,
          I just tried your advice. I uninstalled the latest version of TWS, installed the 938 you linked too, updated the TWS client ID numbers and still same error message. Any other suggestions? solving this so that I can toggle between two accounts different accounts is a very important feature to me.

          Thanks you!!

          Comment


            #6
            Hello,

            Please provide me with images showing the settings you are using for the two accounts. Those images should be sent to Support AT NinjaTrader DOT com. Please include a link to this forum thread with that message as well.

            Thank you.
            KyleNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DanielTynera, Today, 01:14 AM
            0 responses
            2 views
            0 likes
            Last Post DanielTynera  
            Started by yertle, 04-18-2024, 08:38 AM
            9 responses
            40 views
            0 likes
            Last Post yertle
            by yertle
             
            Started by techgetgame, Yesterday, 11:42 PM
            0 responses
            11 views
            0 likes
            Last Post techgetgame  
            Started by sephichapdson, Yesterday, 11:36 PM
            0 responses
            2 views
            0 likes
            Last Post sephichapdson  
            Started by bortz, 11-06-2023, 08:04 AM
            47 responses
            1,615 views
            0 likes
            Last Post aligator  
            Working...
            X