How do I update java?

I’d like to keep my java up to date as various patches for CVE’s are released.

Installed is:

  java -version
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (suse-3.26.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

YaST reports this install as version 1.7.0.6-3.26.1 built 21 Feb.

I’ve read that due to license issues java will not be in repo’s. Does this mean that the version on YaST will never be updated and I need to follow the procedures at https://en.opensuse.org/SDB:Installing_Java?
Or will updates show up in YaST in due course?

If it matters, I’m running 12.2x64 & KDE

Thanks, jon

On 2013-03-14 21:36, 6520302 wrote:
> I’ve read that due to license issues java will not be in repo’s. Does
> this mean that the version on YaST will never be updated and I need to
> follow the procedures at https://en.opensuse.org/SDB:Installing_Java?
> Or will updates show up in YaST in due course?

The Java version published by Oracle can not be redistributed. You can
download the rpm from www.java.com and install it yourself.

Or, you can use YaST to download and install other Java versions that
are freely available.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Thanks for the confirmation.

I could do that manual install but since my experience is minimal I’d hate to screw my system up by not using YaST.

Do you have a recommendation for a different Java distro?

Thanks, Jon

On 2013-03-15 00:56, 6520302 wrote:

> Do you have a recommendation for a different Java distro?

You need to install at least one of the java versions that YaST
supplies, because otherwise yast is convinced you do not have any java
installed and will want to remove anything that requires java, like
perhaps libreoffice.

That’s the easiest way. I don’t know which is the best java’s to use,
there are two at least IIRC. There is “icedtea”. Others can advise
better than me on this.

And, you can also install Oracle’s java on your own; it is really easy
to do (I can give you a link another day). Yast will not recognize it as
“java”, but using “update-alternatives” you can select which of the two
is the one really active. Some of us use it because some people
(business) expect you have it.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

openJDK is java.Many sun Java features do flow into openJDK on regular basis. What more do we need ? openSUSE does patch openJDK it often.

I must not be using the correct terminology, using the name java and openJDK interchangeably and failing to recognize that they are not the same thing. I guess what I have installed is openJDK and it is not Oracle. All I want is an updated build and thought that after reading “Because of licensing issues, Oracle (Sun) Java JRE cannot be included in the repositories of openSUSE anymore” I wanted to know how to update ‘java’ in the future.

What is on my system was updated with YaST. The last update reported by YaST is “java-1_7_0-openjdk - Java runtime environment based on OpenJDK 7 and IcedTea 7” version 1.7.0.6-3.26.1 and dated 21 Feb 2013.

I have confused the name ‘Oracle’ and ‘openJDK’ and I guess sometime in the coming weeks YaST will offer an update of the last few patches of openJDK.

Thanks for clearing this up for me and I’m sorry for wasting your time.

Rgds, jon

You wasted no-one’s time. Forums are present for people to exchange ideas. Feel free to post any queries you have in your mind. Everyone is learning everyday:|
Do this to check for patches

Update Management
Listing Needed Patches

zypper list-patches or zypper lp 

Applying Patches

      zypper patch 

Listing All Patches

      zypper patches 

Checking Patches

zypper patch-check or zypper pchk 

Getting Information About Patches

zypper patch-info zypper info -t patch 

Packages Updates

      zypper list-updates or zypper lu zypper update or zypper up 

bookmark ,print flyers
sources:-
https://en.opensuse.org/images/1/17/…at-sheet-1.pdf
https://en.opensuse.org/images/3/30/…at-sheet-2.pdf
https://en.opensuse.org/SDB:Zypper_usage

On 03/15/2013 03:46 AM, 6520302 wrote:
> I guess sometime in
> the coming weeks YaST will offer an update of the last few patches of
> openJDK.

i think they are flowing into the update repos today, recommend you
run YaST Online Update to install them…

but, they will not be “the last few patches of openJDK”…there will
be many more…with time.


dd
openSUSE®, the “German Engineered Automobile” of operating systems!
http://tinyurl.com/DD-Caveat

On 03/15/2013 12:48 PM, dd wrote:
> i think they are flowing into the update repos today, recommend you
> run YaST Online Update to install them…

looks like i was wrong, java fixes flowing today were for:
SUSE Linux Enterprise Server 11 SP1 for VMware LTSS
SUSE Linux Enterprise Server 11 SP1 LTSS


dd