Latest Java-openjdk upgrade
Kevin Cummings
cummings at kjchome.homeip.net
Tue Jan 27 19:31:39 UTC 2015
On 01/27/2015 01:02 PM, Fernando Lozano wrote:
> Hi,
>
>>> Check which java, javac and etc are configured using alternatives and
>>> check you env vars. Make sure you are using commands, jars and libraries
>>> from the same installation.
>> Interesting suggestion. I did note that I have been having
>> "alternative" warnings during previous updates of java openjdk, but
>> things were working properly. What other packages might conflict? How
>> do I check that the alternatives are set correctly?
> I don't remeber exactly which ones, try at least java, javac and
> libjavaplugin.so or something like that. For example, "sudo alternatives
> --config java"
I found my original update messages, and they said:
> Updating : 1:java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.2.fc20.x86_64 2/78
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/US_export_policy.jar created as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/US_export_policy.jar.rpmnew
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/java.security created as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/java.security.rpmnew
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/local_policy.jar created as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/local_policy.jar.rpmnew
> Cleanup : 1:java-1.7.0-openjdk-headless-1.7.0.71-2.5.3.3.fc20.x86_64 61/78
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.3.fc20.x86_64/jre/lib/security/local_policy.jar saved as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.3.fc20.x86_64/jre/lib/security/local_policy.jar.rpmsave
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.3.fc20.x86_64/jre/lib/security/US_export_policy.jar saved as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.3.fc20.x86_64/jre/lib/security/US_export_policy.jar.rpmsave
But, upon downgrade:
> Installing : 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64 1/6
> Installing : 1:java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64 2/6
> Installing : 1:java-1.7.0-openjdk-devel-1.7.0.60-2.4.3.0.fc20.x86_64 3/6
> Cleanup : 1:java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.2.fc20.x86_64 4/6
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/bin/javac has not been configured as an alternative for javac
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64 has not been configured as an alternative for java_sdk_openjdk
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64 has not been configured as an alternative for java_sdk_1.7.0
> Cleanup : 1:java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64 5/6
> Cleanup : 1:java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.2.fc20.x86_64 6/6
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/local_policy.jar saved as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/local_policy.jar.rpmsave
> warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/US_export_policy.jar saved as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/lib/security/US_export_policy.jar.rpmsave
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre/bin/java has not been configured as an alternative for java
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre has not been configured as an alternative for jre_openjdk
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64/jre has not been configured as an alternative for jre_1.7.0
> /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.x86_64 has not been configured as an alternative for jre_1.7.0_openjdk
I hadn't realized that I went from .71 to .75 to .60 ......
> But also check you env vars. If you have PATH, LD_LIBRARY_PATH and/or
> CLASSPATH changed they'll override alternatives selection.
nothing of interest in those VARs.
> []s, Fernando Lozano
--
Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)
More information about the users
mailing list