java version “1.8.0_371”
Java™ SE Runtime Environment (build 1.8.0_371-b11)
Java HotSpot™ 64-Bit Server VM (build 25.371-b11, mixed mode)
PS: I tested another .jar file and it works fine. I also have seen that on the java website they mentioned that anti-aliasing options of the graphics card could be responsible for this, but this post seemed like it was a little old.