IB TWS Win7 no installation possible

Discussion in 'Trading Software' started by jens11, Apr 11, 2010.

  1. rwk

    rwk

    I'm running Win7 Home, Java 1.6.0_18, TWS 901.3 (1/4/2010). Both of these command lines work:
    C:\windows\system32\javaw.exe -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M jclient/LoginFrame C:\Jts

    C:\Windows\SysWOW64\javaw.exe -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M jclient/LoginFrame C:\Jts

    It is my understanding that the system32 subdirectory is for 64-bit programs, and SysWOW64 is for 32-bit programs. Trust Microsoft to keep it simple -- NOT!

    I installed Java 64-bit first, then installed 32-bit. I don't know if the order is important, but I could not get TWS to run with only Java 64-bit. I could not get Firefox to run under TWS in 64-bit, but everything else works o.k.
     
    #11     Apr 11, 2010
  2. Yes just change the setting on the exe to run as a 32bit program in XP mode.

    Make sure you have the latest version of the Java platform. This should always be kept up to date.:)
     
    #12     Apr 11, 2010
  3. rwk,

    I'd be interested in seeing which JVM is the default for you.
    If you open a shell and type "java -version" and hit the return key that should show you.

    FWIW, on my Win7/x64 the java in windows\system32 references the 64bit JVM.

    You can go to the \windows\system32 directory and try "java -version" there directly as well.
     
    #13     Apr 11, 2010
  4. rwk

    rwk

    If I go to C:\Windows\SysWOW64 and execute the command, it's 32-bit. Anywhere else, it's 64-bit.
     
    #14     Apr 11, 2010
  5. who281

    who281

    hey guys since im not a computer wiz.. how do i check if im running 64bit or 32bit JAVA..
    im on 64bit win 7

    and reading through this i FINALLY got TWS to work.

    i have it set as system32 right now and from what i read that should be running the 64bit JAVA?

    EDIT: i have tried both directories and in processes it says its running 32bit java... how do i change this??

    thanks
     
    #15     May 17, 2010
  6. Just installed it yesterday on Win7 Professional and had no problems at all. I have however UAC turned off because of TradeStation 2000i (which is why I am slowly switching to Amibroker so I can dump TS2000i)

    TWS has been very stable under Windows 7, we've run it right from the release date (Vista was not a happy environment and did not fancy going back to XP)

    good luck
    Maria
     
    #16     May 17, 2010
  7. moarla

    moarla

    i think you have too many JAVA systems installed on your PC. uninstall all java versions and install then the 64bit version.
     
    #17     May 17, 2010
  8. moarla

    moarla

     
    #18     May 17, 2010
  9. I've run tws on w7 x64 with both the 32 and 64 bit versions of java.

    No problems.

    But.

    I do check where javaw.exe is located and make sure the command line is pointing at this (I tend to put it in places that Bill never expected). So search for and find javaw.exe and then right click on the tws icon, select properties (or the w7 equivalent) and make sure that the path to javaw is correct.

    FWIW I think that the 32 bit version of java is more reliable in W7x64 with more programs than the 64 bit version.
     
    #19     May 17, 2010
  10. who281

    who281

    so am i losing any performance running 32bit version?
     
    #20     May 17, 2010