Issue with thinkorswim

I have a problem with a thinkorswim And I have tried more than one method and it does not work for me and I do not know what is the real reason behind it
The problem: the program opens but after a short time it closes the program window and reopens it again

There are 4 programs which provide 'java'.
  Selection    Command
-----------------------------------------------
*  1           /usr/lib/jvm/java-25-openjdk/bin/java
 + 2           /usr/lib/jvm/java-21-zulu-openjdk-jdk/bin/java
   3           /usr/lib/jvm/java-11-temurin-jdk/bin/java
   4           /usr/lib/jvm/java-17-temurin-jdk/bin/java
NVIDIA Corporation GP108M [GeForce MX250] (rev a1) 

Not sure which of the installed versions of Java you’re pointing ThinkOrSwim to, and whether you ever had it working. There are a lot of recent reports on the ThinkOrSwim subreddit by users who have difficulty with v. 21.0.10 (both zulu ad openjdk). I’d check that out.

I currently use ThinkOrSwim with java-21-openjdk (21.0.9) on Fedora 43, and it’s working fine for me.