TWS Standalone does not launch in Win 7 / Java 8 - MS Security Updates

Overview: 
This article is intended to instruct clients on how to regain usage of the Desktop/Start Menu icons.

 

Background: 
After a recent round of Microsoft Security Updates, Windows 7 users who have installed Java 8, can no longer launch the TWS application from the TWS Standalone icons located on their desktops.

The icons do not respond when activated (double-clicked). This behavior is seen after the user has installed the recent Microsoft Security Updates.
When attempting to launch TWS, clients will see no visual response and there will be no process running in the Task Manager. Java 8 is significant because of the use of symlinks to specify the location(s) of the java executable; e.g. 'C:\ProgramData\Oracle\Java\javapath' contains a shortcut to the java executables, which themselves are located in a 'C:\Program Files (x86)\Java\jre1.8.0_XX'.

 

How will we fix this?
 
We are currently investigating the best method to fix the problem.  Please find the most ideal workaround for restoring functionality to the TWS desktop icon below.

***Interactive Brokers does not recommend that any client uninstall his/her Microsoft Security Updates. ***

The Security Updates are in place for a reason and distributed by Microsoft to resolve issues that have been found relative to the operating system and it's components.

 

Workaround for launching TWS

There is a simple way to regain usage of the TWS 4.0 icons by following the steps below.

1.) Determine your Java version

     Open a Windows Command Prompt (Dos window)

     Type "java -version" then press Enter; do not include the quotes

 In this example, I am running java version "1.7.0_71". My update number is '71'.

2. )Highlight path for your Java installation below, then right-click and select 'Copy' so that it is placed into the 'clipboard'. Do not include any extra spaces after 'C:\Jts'. If the result in Step #1 includes 64-bit, you will copy the first command below, otherwise you will copy the second.

          "C:\Program Files\Java\jre1.8.0_XX\bin\javaw.exe" -cp jts.jar;total.2012.jar -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -Xmx768M -XX:MaxPermSize=192M jclient/LoginFrame C:\Jts

 

          "C:\Program Files (x86)\Java\jre1.8.0_XX\bin\javaw.exe" -cp jts.jar;total.2012.jar -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -Xmx768M -XX:MaxPermSize=192M jclient/LoginFrame C:\Jts

 

3.) Right-click the TWS icon and select 'Properties'

 

Note that the Target command-field is highlighted by default

4.) You will now replace the command by right-clicking the highlighted target field and selecting 'Paste'. Where 'XX' is replaced by your update number, as shown in Step 1.

 

5.) Click Apply, then click OK

At this point you may be presented with a User Access Control (UAC) message.

Select 'Continue'. You should now be able to use your TWS icon.