Tech support considered Java dependencies to be my problem. The app is just an executable
JAR.
I was unable to install the full Java via dnf, which is why I went with the Oracle rpm.
Pretty sure the rpm conflicted with the headless JVM, so I removed that one. I can't
explain this, user error is a likely possibility.
Thanks
On Wed, Jan 4, 2017 at 9:14 PM, Christopher<ctubbsii(a)fedoraproject.org> wrote:
Your "Vendor tech support" should have just told you to do 'sudo dnf
install java'.
In Fedora 25, "java" is split across more than one package. Most applications
only need a partial installation, and that's what the "-headless" package
gives you. If you need the rest of "java", you need to install the extra bits
you need.
$ sudo dnf install java # to install the full JRE
$ sudo dnf install java-sdk # to also install the JDK
If your "Java GUI app" was shipped as an RPM, it should have had a proper
dependency on 'java' or 'jre' and done the right thing during
installation. If it wasn't an RPM, you just needed to ensure all of its dependencies
were installed first.
Did you also uninstall the "-headless" version when you installed the Oracle
JVM? That's the only thing I can think of which would account for what you described.
If that was the case, then you would have seen that LibreOffice reinstalled the
java-headless, because it is a dependency. When that was reinstalled, it would have
updated your "alternatives" priorities, which apparently preferred the
"-headless" version. Had you left the "-headless" version installed,
and simply updated the alternatives after you installed Oracle JVM, this wouldn't have
happened. Alternatively, had you simply installed the full OpenJDK version which ships
with Fedora 25 by doing "sudo dnf install java", this wouldn't have
happened.
Hope that helps explain what you experienced.