
On Thu, May 10, 2012 at 05:12:11PM +0300, Robert Munteanu wrote: z On Thu, May 10, 2012 at 2:29 PM, Michal Vyskocil <mvyskocil@suse.cz> wrote:
Hallo all,
as you might know, Oracle have announced the end of general support for jdk6 in November 2012. In order to have maintenable system, we have to follow and switch to jdk7 as well.
I have just sumbitted the java-1_7_0-openjdk to Java:openjdk6:Factory - this release is based on icedtea-2.1, openjdk b147 and should be an equivalent of Oracle Java 7 u2.
Hi Michal,
Hallo Robert, thanks a lot for testing, I really appreciate that
Installing this package in 12.1 alongside java-1_6_0-openjdk leaves 1_6_0 as the default since it has a higher priority in /etc/alternatives.
/usr/lib64/jvm/jre-1.6.0-openjdk/bin/java - priority 17105 /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java - priority 17100
Is this intended?
Good point, alternatives has to be increased - I've used 17147. Commited as a revision 9.
Also, java -version outputs
OpenJDK Runtime Environment (IcedTea7 2.0) (SUSE LINUX build 1.7.0_147-icedtea-b147)
Which seems to indicate that it is based on icedtea-2.0, rather than 2.1 as you wrote.
My fresh private rebuild using openjdk7 itself (IOW not applicable for Factory) says /usr/lib64/jvm/java-1.7.0-openjdk/jre/bin/java -version java version "1.7.0_b147-icedtea" OpenJDK Runtime Environment (suse-1-x86_64) OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode) I suspect you have still the original package. Please take a loot at rpm -q --changelog java-1_7_0-openjdk But I've found the fileconflict between openjdk6 and openjdk7, which has to be fixed as well. $ rpm -ivh java-1_7_0-openjdk-1.7.0.0_147-1.x86_64.rpm Preparing... ########################################### [100%] file /usr/share/applications/policytool.desktop from install of java-1_7_0-openjdk-1.7.0.0_147-1.x86_64 conflicts with file from package java-1_6_0-openjdk-1.6.0.0_b24.1.11.1-3.2.x86_64 but the point is, it has to be fixed in both packages :-( Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org