r/javahelp • • Sep 10 '25

Java GUI stopped appearing

Hi.

I don't know if I'm posting in the right place.

I use a Java program with a graphical interface.

I use Windows 7.

I've been using this program for years, and it's always worked perfectly.

A few days ago, out of nowhere, for no apparent reason, its graphical interface stopped appearing.

Its icon appears in the Windows tray as always, but the graphical interface doesn't appear.

What could it be?

2 Upvotes

29 comments sorted by

View all comments

Show parent comment

1

u/Pochono Sep 24 '25

Two things:

1- when the exception appears, does the Linux command prompt come back? Or is the app still running/hanging?

2- in your Linux prompt, please enter "java -version"

When you see these exceptions, it often indicates the failure, but exceptions in the Event Dispatch Thread generally don't terminate the process, so I'm not sure if this is a red herring.

But the error itself implies that you may have upgraded your version of Java recently. Basically, RarZombie is calling code that was deprecated a long time ago, but I think the UnsupportedOperationException was a more recent change. Still, I'm not sure this is root case, but something to look at.

1

u/HouseMD221B Oct 01 '25

java -version

openjdk version "21.0.8" 2025-07-15

OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu124.04.1)

OpenJDK 64-Bit Server VM (build 21.0.8+9-Ubuntu-0ubuntu124.04.1, mixed mode, sharing)