HOME FORUMS BROKERS SOFTWARE BOOKS CONTACT US
Elite Trader Your Account  •  Become a Member  •  Help  •  Search    
    Forums ›› Tools of the Trade ›› Trading Software ›› TWS on 64 bit Win7  


Post A Reply
    Page 6 of 6:   1  2  3  4  5   6  
kiwi_trader
 

Registered: Aug 2002
Posts: 3719

 

01-30-12 12:01 AM

The application is platform independent (written in java)

But there is something between the platform and the application - the java virtual machine (jvm). And it converts java to machine code etc in a very platform dependent way.

So on w7x64 you install both the 32 bit and 64 bit versions of the java virtual machine to give your app software maximum compatibility options.

    Edit/Delete • Quote • Complain
giggollo
 

Registered: Aug 2005
Posts: 587

 

08-23-12 06:48 AM

The following simple procedure allowed me to run TWS with 64-bit Java, without installing 32-bit Java at all.

I'm running Windows 7 Pro 64-bit. Initially i had no Java and no TWS installed.

First, I installed 64-bit Java (version 7 update 6), and then i installed TWS Standalone build 929 for Windows. I did not install 32-bit Java at all. When I double-clicked the TWS shortcut on the desktop, Windows started searching for javaw.exe while giving me the option to "Browse" to the file manually. I clicked on the little Browse button and selected:

C:\Program Files\Java\jre7\bin\javaw.exe

Then I double-clicked the TWS desktop shortcut again, and now am logged in and running TWS on 64-bit windows with 64-bit Java, and without having to install 32-bit Java.

    Edit/Delete • Quote • Complain
Canoe007
 

Registered: Jan 2011
Posts: 76

 

05-07-13 01:15 PM

forgive a small blast to the past, but I haven't been by in a while and looking at


Quote from m22au:...

1. Remove 64 bit java that came preinstalled with Windows 7.
2. Remove 32 bit java that I had installed previously.
3. Install 32 bit java, installing this program to C:\Program Files (x86)\Java
4. Install TWS (to C:\Jts)
5. Copy the file “Javaw.exe” from “C:\Program Files (x86)\Java\jre6\bin” and place it in “C:\Windows\System32″
6. Step 4 (TWS installation) created a TWS icon on the desktop. I opened this shortcut and changed the command line so that it referred to

C:\Windows\System32\javaw.exe and
C:\Windows\System32\

and not

C:\Windows\SysWOW64\javaw.exe
C:\Windows\SysWOW64\

7. I also changed this command line so that it referred to C:\Jts
(the folder described in step 4 above)
8. Open from the TWS shortcut as normal.



You realize what you've done is copy 32 bit Java into the 64 bit system folder (System32). Anything looking for 64 bit java will look there and end up with 32 bit java.
Any java, be it 32 bit or 64 bit, should be installed to their appropriate folder. You edit the command line in the shortcut to specify which version you wish to run, be it SysWOW64 for the 32 bit version, or System32 for the 64 bit version.

I'm running against system32 for 1.7.21, giving it 3gb to run with. Running fine, except for some issues getting book data through the API, which I'm suspecting is an issue with the 3rd party software, not TWS, nor its API nor Java.

    Edit/Delete • Quote • Complain
    Page 6 of 6:   1  2  3  4  5   6  
Post A Reply


Receive an email whenever a new post is added to this thread by subscribing to it.
 
Rate This Thread:

Forum Jump:
 

 

   Conduct Rules  -  Privacy Policy  -  Day Trader -  Day Trader Forum -  Best Trading Software -  Sitemap Copyright © 2013, Elite Trader. All rights reserved.    
 
WHILE YOU'RE HERE, TAKE A MINUTE TO VISIT SOME OF OUR SPONSORS:
Advantage Futures
Futures Brokerage & Clearing
AMP Global Clearing
Futures and FX Trading
Bright Trading
Professional Equities Trading
CTS
Futures Trading Software
DaytradingBias.com
Professional Trading Analytics
ECHOtrade
Professional Trading Firm
eSignal
Trading Software Provider
FXCM
Forex Trading Services
Global Futures
Futures, Options & FX Trading
Interactive Brokers
Pro Gateway to World Markets
JC Trading Group
Direct Access Trading
MB Trading
Direct Access Trading
MultiCharts
Trading Software Provider
NinjaTrader
Trading Software Provider
OANDA
Currency Trading
optionshouse
Option Trading & Education
Rithmic
Futures Trade Execution Platform
SpeedTrader
Direct Access Trading
SpreadProfessor
Spread Trading Instruction
thinkorswim by TD Ameritrade
Direct Access TradingAdvertisement
TradersStudio
System Building & Backtesting
Trading Technologies
Trading Software Provider
Trend Following
Trading Systems Provider