FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-31-2012, 11:57 AM
Fernando Lozano
 
Default How to install OpenJDK6 on F17

Hi there,

I was surprized that F17 uses OpenJDK7 by default but does not includes
OpenJDK6 packages also, like F16 did.


If I have some app which cannot run on Java 7, what should I do? I know
I can download the proprietary JDK6 from Oracle, but I'd rather use OpenJDK.


I tried installing OpenJDK6 packages from F16 but yum complains they are
obsoleted by OpenJDK7. I also tried downloading IcedTea6 sources and
compiling, but they stop with an "internal compiler error".


Any hints?


[]s, Fernando Lozano

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 01:06 PM
Andrew Haley
 
Default How to install OpenJDK6 on F17

On 05/31/2012 12:57 PM, Fernando Lozano wrote:
> I was surprized that F17 uses OpenJDK7 by default but does not includes
> OpenJDK6 packages also, like F16 did.
>
> If I have some app which cannot run on Java 7, what should I do? I know
> I can download the proprietary JDK6 from Oracle, but I'd rather use OpenJDK.
>
> I tried installing OpenJDK6 packages from F16 but yum complains they are
> obsoleted by OpenJDK7. I also tried downloading IcedTea6 sources and
> compiling, but they stop with an "internal compiler error".

That should work. I'd like to know more. It indicates a pretty major
gcc bug.

Andrew.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 01:09 PM
Christopher Svanefalk
 
Default How to install OpenJDK6 on F17

I find this design decision very odd, exactly for the reasons you mentioned. Java 7 is, to my knowledge, far from universally supported. I would have waited for at least another release or two before phasing out Java 6.



On Thu, May 31, 2012 at 1:57 PM, Fernando Lozano <fernando@lozano.eti.br> wrote:


Hi there,



I was surprized that F17 uses OpenJDK7 by default but does not includes OpenJDK6 packages also, like F16 did.



If I have some app which cannot run on Java 7, what should I do? I know I can download the proprietary JDK6 from Oracle, but I'd rather use OpenJDK.



I tried installing OpenJDK6 packages from F16 but yum complains they are obsoleted by OpenJDK7. I also tried downloading IcedTea6 sources and compiling, but they stop with an "internal compiler error".



Any hints?





[]s, Fernando Lozano



--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org



--
Best,
Christopher Svanefalk

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 01:15 PM
Andrew Haley
 
Default How to install OpenJDK6 on F17

On 05/31/2012 02:09 PM, Christopher Svanefalk wrote:
> I find this design decision very odd, exactly for the reasons you
> mentioned. Java 7 is, to my knowledge, far from universally supported. I
> would have waited for at least another release or two before phasing out
> Java 6.

We did think about it, but OpenJDK 6 is going to be EOL'd this year, with
a complete cessation of updates.

Andrew.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 01:24 PM
Fernando Lozano
 
Default How to install OpenJDK6 on F17

Hi Andrew,


I find this design decision very odd, exactly for the reasons you
mentioned. Java 7 is, to my knowledge, far from universally supported. I
would have waited for at least another release or two before phasing out
Java 6.

We did think about it, but OpenJDK 6 is going to be EOL'd this year, with
a complete cessation of updates.

Andrew.


I can understand you wish to compile everything using OpenJDK7, but why
don't keep OpenJDK6 on the repos as an option, just like you did with
java-1.5.0-gcj ?


Can I --force installing OpenJDK6 packages from F16 on F17? Won't this
mess up with OpenJDK7?



[]s, Fernando Lozano

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 01:52 PM
Deepak Bhole
 
Default How to install OpenJDK6 on F17

* Fernando Lozano <fernando@lozano.eti.br> [2012-05-31 09:26]:
> Hi Andrew,
>
> >>I find this design decision very odd, exactly for the reasons you
> >>mentioned. Java 7 is, to my knowledge, far from universally supported. I
> >>would have waited for at least another release or two before phasing out
> >>Java 6.
> >We did think about it, but OpenJDK 6 is going to be EOL'd this year, with
> >a complete cessation of updates.
> >
> >Andrew.
>
> I can understand you wish to compile everything using OpenJDK7, but
> why don't keep OpenJDK6 on the repos as an option, just like you did
> with java-1.5.0-gcj ?
>
> Can I --force installing OpenJDK6 packages from F16 on F17? Won't
> this mess up with OpenJDK7?
>

Hi Fernando,

No, that should not mess anything up. However subsequent yum updates may
try to remove 6 again and you will probably have to re-install.

java-1.6.0-openjdk and java-1.7.0-openjdk can co-exist side by side
happily -- you can even use alternatives to switch the default if you
really want to.

We just cannot ship 6 in F17 because it will EOL well before F17 does
and we cannot ship a known insecure version.

Cheers,
Deepak

>
> []s, Fernando Lozano
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 02:42 PM
Andrew Haley
 
Default How to install OpenJDK6 on F17

Hi,

On 05/31/2012 02:24 PM, Fernando Lozano wrote:

>>> I find this design decision very odd, exactly for the reasons you
>>> mentioned. Java 7 is, to my knowledge, far from universally supported. I
>>> would have waited for at least another release or two before phasing out
>>> Java 6.
>> We did think about it, but OpenJDK 6 is going to be EOL'd this year, with
>> a complete cessation of updates.
>
> I can understand you wish to compile everything using OpenJDK7, but why
> don't keep OpenJDK6 on the repos as an option, just like you did with
> java-1.5.0-gcj ?

Long-term support for releases of packages that are dead upstream
undoubtedly makes sense for some distros, but Fedora doesn't do it.
Fedora has a fairly short lifetime, and OpenJDK 6 will be EOL before
the end of it.

Andrew.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 04:55 PM
Fernando Lozano
 
Default How to install OpenJDK6 on F17

Hi Andrew,

I tried installing OpenJDK6 packages from F16 but yum complains they are
obsoleted by OpenJDK7. I also tried downloading IcedTea6 sources and
compiling, but they stop with an "internal compiler error".
That should work. I'd like to know more. It indicates a pretty major
gcc bug.

Andrew.


Using icedtea6-1.11.2 sources. Run ./configure without any options,
installed libs as it complained, and installed gcj for use as the
bootstrap (or starter?) jdk. Then make.


I everything run a seccond time to get the error messages but now it
worked. But I did a yum update beteen two tries.



[]s, Fernando Lozano



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 07:12 PM
Fernando Lozano
 
Default How to install OpenJDK6 on F17

Hi Deepak,


java-1.6.0-openjdk and java-1.7.0-openjdk can co-exist side by side
happily -- you can even use alternatives to switch the default if you
really want to.

We just cannot ship 6 in F17 because it will EOL well before F17 does
and we cannot ship a known insecure version.


Thanks for the info, I feel better with RPM packages (even if I have to reinstall after upgrades) than custom-built binaries. So I'll give it a try.

But about the EOL date, I could only find on google an EOL date of Nov/2012 for Oracle JDK, which is the proprietary, commercialy supported build by Oracle. I could not find any EOL for the OpenJDK project or the IcedTea project.

My expectation, based on current use of Java by developers I know, and past experience with other Java updates, is that JDK6 will be the most used JDK release for much longer than the Oracle EOL date. Nothing prevents the open source communities to continue supporing OpenJDK and IcedTea past Oracle EOL date. I see there's strong demand for that. So why not doing? Too few people working on that outside of Oracle?

You could at least package OpenJDK7 in a way it doesn't obsoletes OpenJDK6, so if anyone wants to mantain an OpenJDK6 repo for F17 and beyond they can do so.


[]s, Fernando Lozano


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-31-2012, 08:01 PM
Deepak Bhole
 
Default How to install OpenJDK6 on F17

* Fernando Lozano <fernando@lozano.eti.br> [2012-05-31 15:12]:
> Hi Deepak,
>
> >java-1.6.0-openjdk and java-1.7.0-openjdk can co-exist side by side
> >happily -- you can even use alternatives to switch the default if you
> >really want to.
> >
> >We just cannot ship 6 in F17 because it will EOL well before F17 does
> >and we cannot ship a known insecure version.
>
> Thanks for the info, I feel better with RPM packages (even if I have to reinstall after upgrades) than custom-built binaries. So I'll give it a try.
>
> But about the EOL date, I could only find on google an EOL date of Nov/2012 for Oracle JDK, which is the proprietary, commercialy supported build by Oracle. I could not find any EOL for the OpenJDK project or the IcedTea project.
>
> My expectation, based on current use of Java by developers I know, and past experience with other Java updates, is that JDK6 will be the most used JDK release for much longer than the Oracle EOL date. Nothing prevents the open source communities to continue supporing OpenJDK and IcedTea past Oracle EOL date. I see there's strong demand for that. So why not doing? Too few people working on that outside of Oracle?
>

OpenJDK6 will no longer get security updates after November 2012:
http://mail.openjdk.java.net/pipermail/discuss/2012-February/002514.html

A large part of the problem is that we will not have access to all the
security vulnerability information as it is not made public. That will
make it very difficult to fix the underlying issues.

I am guessing that a lot of people who will use the Oracle JDK6 beyond
the EOL date will probably run the version last available before EOL. We
cannot ship such insecure versions in Fedora though.

> You could at least package OpenJDK7 in a way it doesn't obsoletes OpenJDK6, so if anyone wants to mantain an OpenJDK6 repo for F17 and beyond they can do so.
>

The obsoletes was added on purpose. It was added because many packages
require java >= 1:1.6.0. If 7 does not not obsolete 6, older systems
(F15/16) that have 6 will not necessarily pull in 7 as 6 will satisfy
this dependency. However the package will not actually work with 6
because all new packages are being compiled with 7 which produces a
newer bytecode that 6 does not understand. This was the bug that
prompted obsoleting of 6:

https://bugzilla.redhat.com/show_bug.cgi?id=817516

Cheers,
Deepak

>
> []s, Fernando Lozano
>
>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 12:34 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org