ThinkorSwim on Ubuntu 14.04

It is clear that the TOS support desk is worthless when it comes linux and have no desire to work with any linux user. (I have emailed them twice with no response. Also there documentation still references ubuntu 12.10)

For those of us that have seen the future (but not everybody else has yet.) Here is a quick way to install TOS on to 14.04.

Assuming you have loaded

cd ~
cd Downloads
sudo sh ./

When the wizard comes up be sure to install into the following directory: /usr/local/bin “/thinkorswim” The wizard will add the tos folder. Also the wizard will open TOS for you and it should work. The problems that people seem to be having it is opening the application again. I had placed it in /opt and when I went to open it again it would hang on updates. With this method I just cd into /usr/local/bin/thinkorswim and then sudo sh ./thinkorswim

Obviously this isn’t perfect, but its up and running. As mentioned before TOS / TDameritrade doesn’t really care to much about linux users. (They are to busy front running your trades.)  But maybe this will help someone. The full thread can be found here.

23 thoughts on “ThinkorSwim on Ubuntu 14.04”

  1. Thanks for the instructions. I recall that ToS used to be more friendly to Linux back around 2012/2013.

  2. Dang this approach still works for Ubuntu 14.04, and hence for linux Mint 17. I was having authentication problems, where I would be immediately kicked out of my ameritrade thinkorswim account after launching.

    One other piece of advice, if you are having problems with thinkorswim not liking your java. Install oracle’s java 7.

    You then need to modify your thinkorswim bash script at

    Uncomment this line and add the directory of your java 7 install. For me this is:

    1. I fairly new working my way Ubuntu. I can’t seem to edit that file and save it. Says I don’t own the file and will not let me change it the permissions on it. Please advise possible solution.
      Thanks for your help.

  3. I am having terrible time trying to get TOS to run on my ubuntu linux mint mate 17.2

    I have tried install TOS many times but keep getting error messages.

    EXAMPLE: “JavaFX not found in Java used by TOS
    Please set oracle java7 as default java for TOS
    java must include java FX and oracle java 7 has it but OpenJDK7 has not.

    Have download UPDATES many times. Sometimes loads OK sometimes has errors. sometimes

    Have tried to purge OpenJDK7 from java file but never works. have tried WEBUPD8team/java instructions but always hangs up: says permission denied are you in root.\\Please suggest another approach

    1. It’s been a long time since I tried it, and as I recall, it was not successful, however I was very new to Linux at the time and probably didn’t do it correctly.

      I have installed VirtualBox on Linux, and under that installed Windows 10, Windows XP and Windows 7, and TOS seems to work ok under all of those operating systems. However, I continue to run TOS Daily under Linux Lite 2.6 (which is running Ubuntu 14.04 LTS as its base) without any major issues.

      1. I worked for a number of hours trying to successfully install WINE on my Ubuntu Linux Mint Mate !7.2 32-bit. I was never able to get it to run.

        I did find, however, that the reason I could not get ThinkorSwim (TOS) to run on my Linux was that at the time TD Ameritrade was fooling around with the code and they weren’t used to Linux. I found only one guy there who was conversant with Linux. But the main trouble was they could not make up there minds on Java.

        Now they are running Oracle Java. Using TERMINAL command line I read when asking for Java -version:

        “java version “1.8.0_72”
        Java (TM) SE Runtime Environment (build 1.8.0_72-b15)
        Java HotSpot (TM) Client VM (build 25.72-b15, mixed mode)

        TOS would not run with Java7.

        Only when I selected Java8 would it run. That may be your trouble.

        Here are a couple of links that may help:

  4. Jan 25, 2016

    If you are unable to run ThinkorSwim on your platform today, but it worked fine last week, I have your solution.

    TD Ameritrade / ThinkorSwim released version 1880.62 update of their platform on January 23, 2016 and this new version needs JAVA version 8.x to operate correctly.

    Follow the link below to ThinkorSwim’s online help page and then once the web page has opened, click the “Open the Technical Notes” link at the bottom of the page and scroll all the way to the bottom for instructions on how to update your Java from 7 to 8.

    I followed them and it worked perfectly for me. I’m running Linux Lite 2.6 (Ubuntu 14.04 LTS)


  5. Jan 25, 2016

    For those of you who just want the instructions to update from Java 7 to 8 to allow ThinkorSwim 1880.62 or later to run on Ubuntu 14.04 and I assume later versions, (I’m running Linux Lite 2.6 which is based on Ubuntu 14.04 LTS) here are the steps from the Technical Note on ThinkorSwim’s web site:

    Switching to Java 8 on Linux Ubuntu and Linux Mint

    To install Java 8 on Linux for the first time, please follow steps 1 and 2 only.

    To configure an existing installation of Java 8, please use step 3.

    1. Java 8 (New Installation)

    For Ubuntu and Mint, add the PPA and install Oracle Java 8 (the package provides both JDK8 and JRE8) using the following commands in the terminal:
    Linux terminal:~$
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer

    2.Java 8 Set Default (New Installation)

    To automatically set up the Java 8 environment variables, install the following package
    Linux terminal:~$
    sudo apt-get install oracle-java8-set-default

    3. Switching Java Environments (if Java 8 is already installed on your computer)

    To switch between the Java 7 and Java 8 environment variables, run the following command

    Linux terminal:~$
    sudo update-java-alternatives –s java-8-oracle

    4. Verifying that Java 8 is the Primary System Java

    To verify which version of Java is currently the system default, please run the following command in terminal:

    “java –version” (without the quotes)

    You should see a result that looks like the image below.
    Linux terminal:~$

    This should return:
    Java version “1.8*****”

    Note: thinkorswim may be a bit slower to update when you log in to the platform for the first time after this change.


  6. This is why myself and fellow developers (C) refer to Java as the write-once, run-nowhere language. I’ve never seen a platform fail so miserably to achieve the cross-platform support that it once promised.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.