spacewiz
Registered: May 2009
Posts: 32 |
05-25-10 11:10 AM
I had the same issue, just figured it out.
Seems that this problem is affecting only users of 64-bit Windows machines.
You need to make sure your TWS is running ona 32-bit version of Java, instead of the 64-bit that is often pre-installed on Windows 64-bit.
Solution:
1. Download a 32-bit version of Java Development Kit (JDK) from http://java.sun.com/javase/downloads/widget/jdk6.jsp.
IMPORTANT: select "Windows" instead of "Windows x64"
2. Note the directory where 32-bit JDK is installed.
For example I installed the 32-bit version on my computer under:
C:\Program Files (x86)\Java\jdk1.6.0_16
Your version will be different, I've had mine installed for a while...
3. After installing 32-bit Java : right-click on TWS icon, and select "Properties"
4. In the shortcut's Properties window, in "Target" replace path to javaw.exe to point to the 32-bit Java directory.
For example on my computer I had to change first part of the value
from: C:\WINDOWS\system32\javaw.exe
to: "C:\Program Files (x86)\Java\jdk1.6.0_16\bin\javaw.exe"
(you will need the double quotes if you have spaces in the path)
My full value of Target text box is now:
-------
"C:\Program Files (x86)\Java\jdk1.6.0_16\bin\javaw.exe" -cp jts.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx1024M jclient/LoginFrame C:\Programs\Jts
-------
SIDE NOTE: Notice - I bumped up amount of memory allocated to TWS from original 512MB to 1GB - this will let TWS run faster , do this only if you have plenty of memory - at least 4GB.
Change "-Xmx512M" to "-Xmx1024M"
Hope this helps.
|