I have a 3rd party app that use a Java GUI, so it won't run on a headless JVM.  I had it working until I installed a different app using dnf.  It overwrote my JVM with a headless one and now the Java GUI app is broken.  Is there a way to install/register a non-headless JVM with Fedora so it won't keep installing the headless JVM?

Thanks