Sunday, April 21, 2024

ThinkOrSwim on Fedora

I've been having the ThinkOrSwim blues. I run ThinkOrSwim on Linux. TD Ameritrade provides the platform for Windows, Mac and Linux, but they only provide support for Windows and Mac. Linux users are on their own.

I had an issue around the beginning of the year where ThinkOrSwim stopped working and I eventually called them asking for help. I knew the answer, but I just wanted to confirm that the problem was on my end. I eventually figured it out, and I thought I documented it, but I guess I didn't, because I was definitely reinventing the wheel this go around.

So here's the deal. I said earlier that it's supported for Linux. I do believe that's what their webpage said originally said, but now it is more specific--Ubuntu Linux. And today, in order for SinkOrSwim to work, you need to have the Zulu OpenJDK 11. Therein lies the rub.

One--I am not running Ubuntu, I am running Fedora. I don't know what packages Ubuntu is currently on, but the whole reason for running Fedora in the first place is because of the bleeding edge packages, so it's a safe bet their ahead of Ubuntu. They've been on Java 17 for some time. I'm pretty sure that was the problem before. Fedora moved to Zulu 17 and I had to downgrade back to 11.

So I ran a dnf list installed, which was a lot, so I piped it to a file and looked at it in kate, and I saw that I still had Zulu 11, so initially I was stumped. I've learned that the best thing is usually to come back to it later or the next day, since nowadays I don't usually have a lot of time to troubleshoot before I'm off to the next thing. So today I went through the whole list and saw java-17-openjdk-headless.x86_64. That was the culprit. I installed java-11-openjdk-headless.x86_64, but that didn't work. I had to remove the Java 17 version first, and then install the Java 11 version, so that the dependencies would be correct. Now everything works. 

And then I move to Schwab in less than a month. Hopefully everything is still good.

No comments:

Post a Comment