Re: How to prevent headless JVM (Fedora 25)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the non-headless JVM installed now, and I haven't tried to replicate the issue since.

Does dnf keep a log?


Here's my best recollection of the sequence of events:
1. Clean install of Fedora 24 on a new laptop.
2. Java GUI app failed.  Vendor tech support eventually identified the headless JVM as the culprit.
3. Installed Oracle JVM via rpm.
4. Java GUI app worked.
5. Upgrade to Fedora 25, and Java GUI app still worked.
6. Install libreoffice calc & writer via dnf.
7. Java GUI app failed.  I checked and the only JVM installed was the headless one.
8. Install non-headless openjdk via dnf.
9. Java GUI app works.



On Wednesday, January 4, 2017 7:13 AM, Deepak Bhole <dbhole@xxxxxxxxxx> wrote:


* JUSTIN TAYLOR <justay@xxxxxxxxxx> [2017-01-03 19:48]:
> When I installed Fedora Workstation, it loaded the headless JVM only.  I installed the full JVM, but installing libreoffice via dnf reverted back to the headless one.  It's almost like it considers the headless one to be the default.
>

The headless and GUI enabled JVM package are not independent JVMs. The
GUI enabled JVM package just supplies some additional .so files; the
same JVM bits are used underneath.

The only way (I can see) it would revert back to headless is:
1. A bug in the JVM itself where GUI libraries are installed but it is
  not seeing/loading them (we have never seen this before though)
2. A bug in dnf where it uninstalled the GUI enabled package due to some
  weird conflict

Are you able to reproduce this issue, or do you still have access to the
system where the problem is happening?

Cheers,
Deepak

>    On Tuesday, January 3, 2017 10:07 AM, Deepak Bhole <dbhole@xxxxxxxxxx> wrote:

>
>  * JUSTIN TAYLOR <justay@xxxxxxxxxx> [2016-12-26 12:15]:
> > 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?
>
>
> The headless package (java-1.8.0-openjdk-headless) is a standalone
> package intended to be used on headless servers where the user may not
> want graphics related libraries installed.
>
> The headless package is just a subpackage of the main OpenJDK build and
> all it is is the full JRE minus some graphics related shared libraries
> (which are then provided by the 'java-1.8.0-openjdk' package).
>
> If you are using GUI apps, you just need to install 'java-1.8.0-openjdk'
> and you will be able to run GUI apps. Apps distributed via Fedora should
> have the proper dependencies (on headless vs full package); if you
> notice that once does not, please open a bug against that package.
>
> Cheers,
> Deepak
>
> > Thanks
>
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx

>
>
>
>   

> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux