

In the older days of Fedora, the "Oracle" java was considered superior in quality to the OpenJDK. I'm not sure where you got the idea that "java is not part of Fedora", because the openjdk is an official set of Fedora packages.

Fedora never came with Oracle java for licensing reasons, before OpenJDK became the reference for Java the usual way to use java on fedora was to download the Oracle jdk from the Oracle site and install it manually into /usr/java. "/usr/java/." is the official location for Oracle Java (proprietary java from Oracle). How do I end up with ONE CURRENT version (in alternatives or otherwise) and keep it that way?Īnd for the record is java-11 older than java 1.8? I really do not want TWO versions of java on the machine as it is confusing as heck and leads to problems. I believe I compile with and want java-1.8.0-openjdk-1.8.0.86_64 and that is version 55.0īut I see a lot links pointing at alternatives which I think is 52.0. 1 root root 34 Jan 2 07:45 java-openjdk -> /etc/alternatives/java_sdk_openjdk 1 root root 37 Jan 16 16:55 java-11-openjdk -> /etc/alternatives/java_sdk_11_openjdkĭrwxr-xr-x. 1 root root 26 Jan 2 07:45 java -> /etc/alternatives/java_sdk The command "ls -ld /usr/lib/jvm/java*" returns : ledger/servlet/RunLedger has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class ) SEVERE: Error configuring application listener of class Recently I recompiled some java code and restarted tomcat and I get a distressing but similar message with When I do updates (dnf update), I have to frequently redo that link to pick up the newest Then later I linked /opt/java/jdk to theĬurrent release which changes with updates. The old way was "/usr/java" but java is NOT part of fedora so I made it "/opt/java"Īnd symbolically linked /usr/java to it. Java has moved locations and my most recent update of fedora has caused severe problems. This terminology and semantics easily confuse many beginners.I have been running java applications and tomcat for a long time. Unfortunately, when we deal with objects we are really dealing with object-handles called references which are passed-by-value as well.
