How to install thinkorswim on Ubuntu 18.04

Step 0: Apply all system updates

Step 1: Add repository for Oracle Java 8

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update

Step 2: Install Oracle Java 8

sudo apt-get install oracle-java8-installer

Step 3: Set Oracle Java 8 as the default

#if installing from a fresh system that does not have java installed

sudo apt-get install oracle-java8-set-default

#if installing from a system that does have java installed

sudo update-java-alternatives –s java-8-oracle

Step 4: Download thinkorswim (source https://drive.google.com/file/d/1EXThUfoDpdERSRMqOQNXH1n6og0MHXeI/view?u... as thinkorswim was corrupted as of Aug 2018 on thinkorswim.com server)

wget https://doc-08-2c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7...

Step 5: Make it executable (right click, Properties, Permissions)

Step 6: Install thinkorswim in single user mode when prompted

./thinkorswim

Step 7: After installing thinkorswim will take a few minutes to update; just be patient

Note: If updating fails it is probably because you haven't applied all system updates in step 0

Step 7: The first time you start thinkorswim it'll prompt you and you should go ahead and trust the application

Further documentation/sources:

https://ubuntuforums.org/showthread.php?t=2311233
https://www.reddit.com/r/thinkorswim/comments/8rt4x3/linux_installer_bro...
http://www.strategic-options.com/insight/think-or-swim-on-ubuntu-17-10/