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.
|