TWS -- Could not find Java SE Runtime Environment

Discussion in 'Trading Software' started by WD40, Jul 26, 2012.

  1. WD40


    tried to start TWS this morning,

    got an error message -- Could not find Java SE Runtime Environment

    I uninstall and reinstalled Java, to no avail.

    Any clues?
  2. NoBias


    make sure you have the 32 bit java installed
  3. are you running a 32 or 64 Java version and
    did you switch versions recently ?
  4. NoBias


    Had similar issue with the DDE excel to follow is the email from IB
    Edit [months ago not today, as I notice a TWS issue in another thread - not related]

    Thank you for contacting Interactive Brokers.

    As per conversation, the Excel DDE issue that you are describing occurs on computers running on a 64 bit Windows OS.

    Please refer to the instructions below regarding the error message of Excel DDE on TWS:
    1) Uninstall TWS, Java and the API Components then restart computer. (Please go to your Control Panel > Programs and Features to remove: Trader Workstation 4.0, TWS Interoperability Components and all Java components)
    2) Download and install Java 32 bit from the link: (Please Accept the license agreement and download the file "Windows x86 Offline")
    3. Download and install TWS through the link:
    4) Confirm where the javaw.exe file is installed. (It should be something like C:\Windows\SysWOW64\javaw.exe)
    5) Right-click the TWS desktop shortcut, select Properties and go to the Shortcut tab and refer to Target, and point the path or javaw.exe to where it is installed:
    -It should read: C:\Windows\System32\javaw.exe -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed......
    -Change it to: C:\Windows\SysWOW64\javaw.exe -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed......
    6) Install the API Components through the link:
    7) Log back into TWS and you should not get the error "Ddedll.dll file is missing our out of date..."

    Should you require further assistance please feel free to contact us.

    Kind regards,
    IB Technical Assistance Center
  5. WD40


    Thanks all for the replies.

    Followed the above instruction and got it working.

    But gosh the new TWS is ugly.
  6. Sometimes something as simple as rebooting the computer will sort the issue. Ensure you have a copy of javaw.exe file sitting in the Windows\System32 directory.
  7. I've found that JAVA with its regular updates being required, along with TWS, it's a problematic combination.
    Frequently after a JAVA update I then experience problems getting TWS to run.
    Today I had yet another JAVA update (lost count how many times this has been done over the years) and TWS spat the dummy yet again and wouldn't run.
    I tried all the uninstalling tricks etc to no avail, TWS still wouldn't run.

    My solution to the problem is (a) I unticked JAVA updates - so no more of them unless I deem it necessary and then I'll do it manually, I'm fed up with the continual JAVA circus of updates, (b) uninstalled TWS and now I'm running the web based TWS version.
    Go to: / LOGIN / Trader workstation Latest