Quote from Dieter:
Hello,
...
Everytime IB looks on the local setup fo find the java 32 bit installed.. and it did not work, because of the only 64 bit java... /anbd want to be shure, that IB is really using 64 bit java with all that memory, I give him..)
my trick: install the java 64 bit runtime into the 32 bit java default directory (there the local IB installation looking for..)
C:\Windows\system32\
...
something a bit odd
My understanding is that 64-bit software uses "Program Files" and System32; 32 bit software on a 64-bit system is supposed to use "Program Files (x86)" and SysWOW64.
The SysWOW64 ("Windows on Windows 64-bit"), contains all the 32-bit files which run on top of the 64 bit system. SysWOW64 is the 32-bit version of a 64-bit Windows' "system32" folder. When running a 32-bit application, which runs under the WOW64 32-bit emulator, any access to the System32 folder and the WOW64 emulator transparently redirects the request to the SysWOW64 folder.
when I installed, in order:
Java jre 32 bit 6 Update 23
Java jre 64 bit, 6 Update 23
the 32 bit Java was put into
Program Files (x86)\Java\gre6\bin
and then installed to
C:\Windows\SysWOW64\javaw.exe
the 64 bit Java was put into
Program Files\Java\gre6\bin
and then installed to
C:\Windows\System32\javaw.exe
and, confirmed by, pointing TWS at SysWOW64 limits -Xmx to 1024
pointing TWS at System32 (as the shortcut comes) -Xmx3072M is fine
Perhaps if you do a system wide search for "javaw.exe" you can see where the sources reside, and by matching their size, see where they are installed to (SysWOW64 vs. System32).