Repository for Java Update 29?

I would like to update my Suse 11.4 to the latest version of Java 6, ie Update 29.
As I understand, u29 fixes critical security flaws.
See: Critical Java Update Fixes 20 Flaws — Krebs on Security

The repositories I have been using offer at best u26, which is what I currently have installed.

Can anyone reply with what repository to add to my list so that I can obtain u29.
Thanks.

Oracle canceled the linux distribution license. So linux distros can no longer
provide new oracle jre’s or jdk’s in repositories.
That does not mean you can no longer have it but it means you need to go to java.com
and download and install it yourself.
The good news is they provide a bin which creates a rpm.

http://java.com/en/download/linux_manual.jsp?locale=en

The bad news is it is more manual work.

http://www.h-online.com/open/news/item/Oracle-retires-licence-for-distributing-its-Java-with-Linux-1332835.html


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia ION | 3GB Ram

On 2011-10-28 00:56, helge59 wrote:

> Can anyone reply with what repository to add to my list so that I can
> obtain u29.

Impossible, Sun’s java will not be included. Forbidden by new licensing
upstream. We have to use openJDK instead. :frowning:

http://lists4.suse.de/opensuse-java/2011-09/msg00000.html


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Carlos E. R. wrote:

> Impossible, Sun’s java will not be included. Forbidden by new licensing
> upstream. We have to use openJDK instead. :frowning:
>
Not impossible, we just (it is nasty manual work) have to install it from
java.com.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

On 2011-10-28 01:32, martin_helm wrote:
> Carlos E. R. wrote:
>
>> Impossible, Sun’s java will not be included. Forbidden by new licensing
>> upstream. We have to use openJDK instead. :frowning:
>>
> Not impossible, we just (it is nasty manual work) have to install it from
> java.com.

It is impossible to download it as an rpm from a repository. That is what I
said.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

martin_helm wrote:

> Carlos E. R. wrote:
>
>> Impossible, Sun’s java will not be included. Forbidden by new licensing
>> upstream. We have to use openJDK instead. :frowning:
>>
> Not impossible, we just (it is nasty manual work) have to install it from
> java.com.
>
Just as a first information only for the browserplugin

Download the java 32 or 64 bit from
http://java.com/en/download/linux_manual.jsp?locale=en

my example is 64 bit
make the downloaded file jre-6u29-linux-x64-rpm.bin executable


chmod +x jre-6u29-linux-x64-rpm.bin
sudo ./jre-6u29-linux-x64-rpm.bin

results in jre-6u29-linux-amd64.rpm


sudo zypper in jre-6u29-linux-amd64.rpm
cd /usr/lib64/browser-plugins
sudo rm javaplugin.so
sudo cp -s sudo cp -s /usr/java/default/lib/amd64/libnpjp2.so javaplugin.so

if you don’t like sudo work with su.

restart Firefox and goto http://java.com/en/download/installed.jsp
click on the verify button
Firefox shows now I am on 1.6.0_29 amd64

To make the java version effective for standalone programms and programmin
is more involved, so I leave it here since it is late were I am.

I think about a script which does everything automatically and/or adds the
whole stuff to the update-alternatives environment.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

Carlos E. R. wrote:
> It is impossible to download it as an rpm from a repository. That is what
> I said.
Understood it in a different way - sorry.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

On 2011-10-28 02:02, martin_helm wrote:
> Carlos E. R. wrote:
>> It is impossible to download it as an rpm from a repository. That is what
>> I said.
> Understood it in a different way - sorry.

The good thing, perhaps, is that bugs in the open version will be reported
and corrected, so that we can really use that version.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Carlos E. R. wrote:

> On 2011-10-28 02:02, martin_helm wrote:
>> Carlos E. R. wrote:
>>> It is impossible to download it as an rpm from a repository. That is
>>> what I said.
>> Understood it in a different way - sorry.
>
> The good thing, perhaps, is that bugs in the open version will be reported
> and corrected, so that we can really use that version.
>
The good part IMHO is also that with version 7 (short for 1.7) the openjdk 7
is the official reference implementation (according to oracle the gold
standard) for java and no longer the proprietary on as it was in the past.
http://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the

I think there is also somewhere the official announcement (just do not have
it handy now as link, it is in one of the java magazines which I buy).

For me it plays no real role to have the proprietary one installed at all -
only for work since we need to be compatible (I use most of the time openjdk
and prefer free software), but I thought to try the whole thing since some
people have always problems with the browser plugin, so they might need the
proprietary java sometimes.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

martin_helm: installing java manually maybe be something a bit hard for newbies but as you said openJDK is pretty good too, it not Java from Oracle, but its Java, and now users can get involved in bug squashing even more. I have used Java update 26 (latest from repos) and then openJDK; i did not see any differences at all on the sites i have visited; maybe a programmer can spot something but me as normal user i consider openJDK stable.

Thanks for the clarification Martin. I’ve learnt quite a lot from this thread. IMHO, your info would make a good How To.

Just ran an update while having this thread open. And guess what?


java-1_6_0-openjdk wordt gedownload (downloadgrootte 22,79 MB)
Delta-RPM ./rpm/x86_64/java-1_6_0-openjdk-1.6.0.0_b22.1.10.2_1.6.0.0_b22.1.10.4-4.3.1_0.3.2.x86_64.delta.rpm wordt gedownload (downloadgrootte 550,00 kB)
Delta-RPM toepassen: /var/cache/zypp/packages/Updates-for-openSUSE-11.4-11.4-0/rpm/x86_64/java-1_6_0-openjdk-1.6.0.0_b22.1.10.2_1.6.0.0_b22.1.10.4-4.3.1_0.3.2.x86_64.delta.rpm
java-1_6_0-sun wordt gedownload (downloadgrootte 21,19 MB)
java-1_6_0-openjdk-1.6.0.0_b22.1.10.4-0.3.2.x86_64.rpm wordt geïnstalleerd (geïnstalleerde grootte 84,57 MB)
**java-1_6_0-sun-1.6.0.u29**-0.2.1.x86_64.rpm wordt geïnstalleerd (geïnstalleerde grootte 89,86 MB)

This is the one meant, isn’t it? I’m puzzled. Or did I miss something?

BTW it’s from the 11.4 Update repo

Same here, now that I’ve updated.

So, the openSUSE Java team will still offer Java packages from Oracle even under the new license ?

On 2011-10-28 03:03, martin_helm wrote:
> For me it plays no real role to have the proprietary one installed at all -
> only for work since we need to be compatible (I use most of the time openjdk
> and prefer free software), but I thought to try the whole thing since some
> people have always problems with the browser plugin, so they might need the
> proprietary java sometimes.

I have java applications that simply fail with open one.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Today I received an automatic update to sun/oracle java 1.6.0_29 via the
repositories. No idea how that is possible looking at the cancelled linux
distribution license.

I just want to share that.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

On 2011-10-28 14:19, martin_helm wrote:
> Today I received an automatic update to sun/oracle java 1.6.0_29 via the
> repositories. No idea how that is possible looking at the cancelled linux
> distribution license.

You are absolutely right, it is there. :open_mouth:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

creatura85 wrote:

>
> martin_helm: installing java manually maybe be something a bit hard for
> newbies but as you said openJDK is pretty good too, it not Java from
> Oracle, but it`s Java, and now users can get involved in bug squashing

even more.
I have used Java update 26 (latest from repo`s) and then openJDK; i did
> not see any differences at all on the sites i have visited; maybe a
> programmer can spot something but me as normal user i consider openJDK
> stable.
>
You noticed that openSUSE still provides updates for the sun/oracle java for
11.4? I just found that today contradicting their own anouncement.

I am myself a programmer mainly working with java in my job (the last 7
years at least and it was not my first choice, before that time I worked
mainly with C++) and I often test things with the proprietary version and
the openjdk version.
openjdk is definitely stable from my point of view.
There are very small differences sometimes which can break things. Actually
this is not intentional for the java versions but is a bug if something like
that happens and should be reported to openjdk.
But meanwhile you can forget about that (reporting incompatibility bugs)
since oracle decided to make a move and openjdk is now the standard for java
compliance with java 7, so with java 7 if the oracle java behaves different
it is a bug in the proprietary oracle java not in openjdk.
(Of course to be precise openjdk and the proprietary java are both from
oracle, openjdk being the GPL version).

To make this long story short: For a user it should not make a difference
what is used (the sad reality is still in some border cases it makes a
difference, more often with the browser plugin than with standalone
programs).


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

On 2011-10-28 22:50, martin_helm wrote:

> To make this long story short: For a user it should not make a difference
> what is used (the sad reality is still in some border cases it makes a
> difference, more often with the browser plugin than with standalone
> programs).

I use some java tools that are, I think, designed to work on Windows, but
also work in Linux. I wonder what will happen on that side, what will they
use, the open java or the “closed” java. If they continue using the closed
one I may have problems - I tried the open jdk in Linux and had to switch
to he closed version because they did not work right.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

martin_helm: well… i dont know what to say if they announced the contrary... After i have installed some updates a few days back i have seen java too (update 29) and i decided to post a question here just to know some facts. Now im a bit confused. Personally, to me as a normal user, i don`t think i will notice a difference between Java from Oracle and openJDK. Can you post that announcement here as well? just for other to see and get an idea about the situation. Taking from your point of you view using openJDK 7 is better than Java 6/7? or does openJDK behave like a good substitute ?