OpenJDK7 is going to Factory

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. There are two minor problems preventing the succesfull submit into Factory * it has to be rebuilt using java-1_7_0-openjdk * BuildRequires: -brp-check-suse and BuildRequires: -post-build-checks are not things Factory checking team would accept I hope I will fix them this week and submit openjdk7 to Factory soon. The next step would be rebuild of all java packages with jdk7 and fix possible problems, but this will be a task for time, when openjdk7 will be done. Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Thu, May 10, 2012 at 2:29 PM, Michal Vyskocil <mvyskocil@suse.cz> wrote:
Hi Michal, 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? 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. Robert -- Sent from my (old) computer -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

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 Robert, thanks a lot for testing, I really appreciate that
Good point, alternatives has to be increased - I've used 17147. Commited as a revision 9.
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

Right, it's the initial package ; I installed it using 1-click install from https://build.opensuse.org/package/show?project=Java:openjdk6:Factory&packag... I guess I'll wait for the rebuild to complete and then try again.
Hm, somehow I did not get that ( with the initial package ). $ rpm -qf /usr/share/applications/policytool.desktop java-1_6_0-openjdk-1.6.0.0_b24.1.11.1-3.1.x86_64 java-1_7_0-openjdk-1.7.0.0_147-6.1.x86_64 Robert -- Sent from my (old) computer -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Thu, May 10, 2012 at 01:29:54PM +0200, Michal Vyskocil wrote:
So java-1_7_0-openjdk has been submitted to Factory. See request 120720 [1]. There is only one copyright related issue, but I am sure we will find a solution soon. The next step is to build the java stack using jdk7. I've made a new project Java:packages:JDK7 [2], where all those things will be tracked. From what I can tell you, there are two common problems - JDBC, which got a lot of new APIs and software manipulates with bytecode, which expect some changes in code. Fortunatelly as Oracle have announced the early drop of jdk6, most developers will be enforced to jdk7 soon. [1] https://build.opensuse.org/request/show/120720 [2] https://build.opensuse.org/project/show?project=Java%3Apackages%3AJDK7 Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

note, jdk7 u4 has been released now and may be a good candidate as soon as IcedTea will be in sync 2012/5/14 Michal Vyskocil <mvyskocil@suse.cz>:
-- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Mon, May 14, 2012 at 03:28:11PM +0200, Henri Gomez wrote:
note, jdk7 u4 has been released now and may be a good candidate as soon as IcedTea will be in sync
Hallo, Reading the original announcenment of icedtea 2.1 better """ We believe that this 2.1 release takes IcedTea beyond u3. In addition to the changes in the public OpenJDK7 repository for u2 and the security updates, which is what we believe u3 is comprised of[*], we also include a number of additional fixes (three already in u4): """ http://blog.fuseyism.com/index.php/2012/02/15/icedtea-2-1-released-openjdk7-... so java-1_7_0-openjdk is something between Oracle Java u3 and u4. And not the u2 as I thought bedore. Best regards Michal Vyskocil
-- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On 05/10/2012 01:29 PM, Michal Vyskocil wrote:
Michal, do you think we can enable jamvm as a vm flavor as Debian and Ubuntu did? (and AFAIK they use it as a default for arm) By the way, they seem to have a better package naming convention for that: icedtea-7-jre-jamvm (splits as a subpackage and only contains the libjvm.so) -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Fri, May 18, 2012 at 04:59:02PM +0200, Duncan Mac-Vicar P. wrote:
Hallo Duncan,
Michal, do you think we can enable jamvm as a vm flavor as Debian and Ubuntu did? (and AFAIK they use it as a default for arm)
atm my priority #1 is to get openjdk7 to Factory for x86_64/i586, #2 is fix build problems in Java:packages:JDK7 and push them into Factory as well (it includes some updates into our old java stack). So arm is not what I can work at least until 12.2.
Sure, but the other point is the debian's "spec" file is way more comlicated than our current one ;-). BTW: if there is someone in opensuse-arm want to work on that, don't hesitate to contact me. Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Thu, May 10, 2012 at 2:29 PM, Michal Vyskocil <mvyskocil@suse.cz> wrote:
Hi Michal, 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? 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. Robert -- Sent from my (old) computer -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

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 Robert, thanks a lot for testing, I really appreciate that
Good point, alternatives has to be increased - I've used 17147. Commited as a revision 9.
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

Right, it's the initial package ; I installed it using 1-click install from https://build.opensuse.org/package/show?project=Java:openjdk6:Factory&packag... I guess I'll wait for the rebuild to complete and then try again.
Hm, somehow I did not get that ( with the initial package ). $ rpm -qf /usr/share/applications/policytool.desktop java-1_6_0-openjdk-1.6.0.0_b24.1.11.1-3.1.x86_64 java-1_7_0-openjdk-1.7.0.0_147-6.1.x86_64 Robert -- Sent from my (old) computer -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Thu, May 10, 2012 at 01:29:54PM +0200, Michal Vyskocil wrote:
So java-1_7_0-openjdk has been submitted to Factory. See request 120720 [1]. There is only one copyright related issue, but I am sure we will find a solution soon. The next step is to build the java stack using jdk7. I've made a new project Java:packages:JDK7 [2], where all those things will be tracked. From what I can tell you, there are two common problems - JDBC, which got a lot of new APIs and software manipulates with bytecode, which expect some changes in code. Fortunatelly as Oracle have announced the early drop of jdk6, most developers will be enforced to jdk7 soon. [1] https://build.opensuse.org/request/show/120720 [2] https://build.opensuse.org/project/show?project=Java%3Apackages%3AJDK7 Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

note, jdk7 u4 has been released now and may be a good candidate as soon as IcedTea will be in sync 2012/5/14 Michal Vyskocil <mvyskocil@suse.cz>:
-- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Mon, May 14, 2012 at 03:28:11PM +0200, Henri Gomez wrote:
note, jdk7 u4 has been released now and may be a good candidate as soon as IcedTea will be in sync
Hallo, Reading the original announcenment of icedtea 2.1 better """ We believe that this 2.1 release takes IcedTea beyond u3. In addition to the changes in the public OpenJDK7 repository for u2 and the security updates, which is what we believe u3 is comprised of[*], we also include a number of additional fixes (three already in u4): """ http://blog.fuseyism.com/index.php/2012/02/15/icedtea-2-1-released-openjdk7-... so java-1_7_0-openjdk is something between Oracle Java u3 and u4. And not the u2 as I thought bedore. Best regards Michal Vyskocil
-- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On 05/10/2012 01:29 PM, Michal Vyskocil wrote:
Michal, do you think we can enable jamvm as a vm flavor as Debian and Ubuntu did? (and AFAIK they use it as a default for arm) By the way, they seem to have a better package naming convention for that: icedtea-7-jre-jamvm (splits as a subpackage and only contains the libjvm.so) -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org

On Fri, May 18, 2012 at 04:59:02PM +0200, Duncan Mac-Vicar P. wrote:
Hallo Duncan,
Michal, do you think we can enable jamvm as a vm flavor as Debian and Ubuntu did? (and AFAIK they use it as a default for arm)
atm my priority #1 is to get openjdk7 to Factory for x86_64/i586, #2 is fix build problems in Java:packages:JDK7 and push them into Factory as well (it includes some updates into our old java stack). So arm is not what I can work at least until 12.2.
Sure, but the other point is the debian's "spec" file is way more comlicated than our current one ;-). BTW: if there is someone in opensuse-arm want to work on that, don't hesitate to contact me. Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org
participants (4)
-
Duncan Mac-Vicar P.
-
Henri Gomez
-
Michal Vyskocil
-
Robert Munteanu