Re: LinkageError occurred while loading main class Area_Triangle_Determinants

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

 



On Tue, 26 Sep 2023, olivares33561 via users wrote:

[olivares@fedora mptmp]$ rpm -qa | grep openjdk
java-17-openjdk-headless-17.0.8.0.7-1.fc38.x86_64
java-latest-openjdk-headless-21.0.0.0.35-1.rolling.fc38.x86_64
java-latest-openjdk-21.0.0.0.35-1.rolling.fc38.x86_64
java-latest-openjdk-devel-21.0.0.0.35-1.rolling.fc38.x86_64
[olivares@fedora mptmp]$ javac Ulam.java --release 17
[olivares@fedora mptmp]$ java Ulam

Is there a better way to avoid doing this, ie removing java 17 and forcing 21 ?  or vice versa to avoid this.  I had not encountered this before in previous versions of Fedora it just worked!  Now I have to specify.  What would be the best thing to do? and make it work correctly.

I'd expect that within any sensible system,
the java compiler and the java
virtual machine would be compatible.
The package java-17... seems to be an outlier and
seems to be where the java virtual machine is coming from.
If another package has a headless virtual machine,
you might want to get rid of java-17... .

--
Michael   hennebry@xxxxxxxxxxxxxxxxxxxxxx
"Occasionally irrational explanations are required"  --  Luke Roman
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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