IB Best Java Version

Quote from Catoosa:

I also rolled back to Java 1.5_11 on the PC I use TWS. I have Java 1.6_03 on other PCs.


I also rolled back to java 1.5_12. Problem w/ settings windows lagging when opened the first time after startup w/ 1.6.
 
I've been using the LATEST Java as they come out and have had no problems.

No disconnects, nothing.

So there it is.

User error.
 
Quote from stock777:

I've been using the LATEST Java as they come out and have had no problems.
No disconnects, nothing.
So there it is.
User error.
Yes, but unfortunately, you're the exception. It seems many others have witnessed definite problems with JDK 1.6.
 
TWS has many features. It would be interesting to know what feature(s) the pro and con Java 1.6 commentors use.

I am a pro commentor - I use
1) Basic TWS trade screen to enter "swing trade" equity and option limit orders on the buy and sell side.
2) Occasional use of Book Trader to enter Globex index future trades.
3) API interface for high speed scalping using a specially designed scalping tool (Java 1.6_03) that enters market or limit orders and immediately\automatically enters sell and stop loss orders on opening of the position.

I have had no problems with any of the above using 1.6_03.

I have seen TWS version problems but they did not go away by reverting to Java 1.5_11/12. They cleared when IB fixed the TWS. I normally use the latest TWS in my paper trading account to ensure the features I need still work. Then I migrate, saving the old TWS install file.

Jack
 
Quote from patch227:

Seeing as IB can't seem to get their Bulletin Board fixed I wonder if someone here can tell me where to find out which version of Java is the best to use with a standalone TWS?

it's doesn’t matter. if you complain about something-most likely ithey will blame java anyway. so if you say-my TWS is freezes, next question will be-whay java version did you use? if answer is 1.5-they they will say-ohh.. too old, switch to 1.6+. if you say-1.6-then they say-we only support 1.5+
imo-the bottom line-if TWS works fine on whatever version you are using-stick with it and don't do any updates on both java and tws
 
I too am a happy exception

1.6_03 and all is well.



There seems to be a misconception here that you have to get rid of 1.6 to run tws on 1.5. Wrong.

You can install both and then modify the tws command line to call the java version you want:

C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe -cp jts.jar;pluginsupport.jar;jcommon-1.0.0.jar;jfreechart-1.0.0.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts', 'C:\JTS'

for example uses java 1.5.0_11

The user just has to locate the directory the 1.5 version of javaw.exe is stored in and then substitute that in the line calling TWS.
 
Quote from kiwi_trader:


You can install both and then modify the tws command line to call the java version you want:

C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe -cp jts.jar;pluginsupport.jar;jcommon-1.0.0.jar;jfreechart-1.0.0.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts', 'C:\JTS'
The user just has to locate the directory the 1.5 version of javaw.exe is stored in and then substitute that in the line calling TWS.
Can you imagine doing this for 20 Java apps ?
Pity that Sun didn't come-up with a better mechanism to allow quick switching of JVM versions under Windows.
(Note: the Java control panel app only appears to do this; it doesn't really work).
 
It's faster. Java VM releases are almost always backwards compatible at least 3 versions, if not more. It takes forever to get something deprecated out of the base jre.

That being said, you can upgrade to the new versions of the jre without breaking a thing. I've been writing java apps and doing this for 12 years.(writing since 1.0, worry-free upgrades since 1.2)

The only reason it would break is if someone hardcoded something foolish in the code.
 
Back
Top