which Java for IB TWS ?

Discussion in 'Trading Software' started by WD40, Jul 18, 2007.

  1. WD40


    IB website recommends Java 2 or 1.5.

    however on http://www.java.com , the current iteration is version 6 update 2.

    how do I get Java 2 ?!?!
  2. "Java 2" is the consumer name for 1.5. Luckily the marketing person that dreamed that up is no longer in charge of product rebranding.
  3. nassau


    we use java 1.60-01 which to my knowledge is the current version as you will have small issues with older versions until you upgrade.

  4. WD40


    My Firefox is prompting me to upgrade Java to Version 6 Update 2.

    Would that affect my TWS ?
  5. You can have multiple versions of java installed but force tws to use the old one. The command line I use is:

    "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
  6. I have always just used the most current version for my TWS plugins and have never had any problems.

    I believe every version of java since 1.2 has had the "java 2" brand name. They didn't keep it going and make 1.3 "java 3' so it's really become a meaningless term nowadays.
  7. WD40


    so version 6 refers to Java 1.6 ???
  8. No. Not really. It's always best to refer to Java 1.6 and then its unambiguous.
  9. yes and no... see, all versions since 1.2 have been "Java 2 Platform, version x". So, what I was trying to say before is: they are all "Java 2" since 1.2. It's kind of a meaningless term. Sun is finally trying to rectify this, because it causes such confusion: http://java.sun.com/javase/namechange.html
  10. WD40


    On the http://www.java.com website, it says the current release is Version 6 Update 2. Man, are they confused or what. No wonder SUNW is down in the pits.

    Anyway thanks guys for the info. Lots to experiement here.
    #10     Jul 18, 2007