How can I make Yast happy when JRE is installed?

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I make Yast happy when JRE is installed?

Carlos E. R.-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

As we know, openSUSE no longer provides updates for Java from Sun. We can install the JRE rpm from
them, and remove the java-1_6 rpm, because JRE is an update of that one - but yast does not
recognizes it as an update, and wants to install icetea-web. I had to taboo it. Then yast insisted
and tried to install java-1_6_0_opnjdk. Again I said no and tabooed it. Then Yast insisted and
wanted to install gcc-ijj - more or less in that order. I also tabooed it.

Then YaST got mad at me and wanted to remove openoffice, and I told it to &&%%·$ itself and break
dependencies.


Is there some other way to make yast happy and recognize that Java IS indeed installed in the
system? Perhaps a false java rpm with false provides?

Do we need a bugzilla for this?

- --
Cheers / Saludos,

                Carlos E. R.
                (from 11.4 x86_64 "Celadon" (Minas Tirith))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAlA0Fz0ACgkQja8UbcUWM1wIqQD8Dlgt3yJFiTkS2VkNquBbBwb6
9vUhxlf+0uBsshKzA+YA/jHdFIDzjx9OTv/78LsLnXqOAteMk0ovyCXAyPfK5wrP
=57kU
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Lars Müller-2
On Wed, Aug 22, 2012 at 01:18:21AM +0200, Carlos E. R. wrote:

>
> As we know, openSUSE no longer provides updates for Java from Sun. We can install the JRE rpm from
> them, and remove the java-1_6 rpm, because JRE is an update of that one - but yast does not
> recognizes it as an update, and wants to install icetea-web. I had to taboo it. Then yast insisted
> and tried to install java-1_6_0_opnjdk. Again I said no and tabooed it. Then Yast insisted and
> wanted to install gcc-ijj - more or less in that order. I also tabooed it.
>
> Then YaST got mad at me and wanted to remove openoffice, and I told it to &&%%·$ itself and break
> dependencies.
>
>
> Is there some other way to make yast happy and recognize that Java IS indeed installed in the
> system? Perhaps a false java rpm with false provides?
>
> Do we need a bugzilla for this?
Yes.  As not all package maintainers follow this list.

Please file one and be this nice to report the issue ID as a clickable
URL back to this thread.

Thanks,

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team + SUSE Labs
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Philippe Andersson-2
On 22/08/12 09:22, Lars Müller wrote:

> On Wed, Aug 22, 2012 at 01:18:21AM +0200, Carlos E. R. wrote:
>>
>> As we know, openSUSE no longer provides updates for Java from Sun. We can install the JRE rpm from
>> them, and remove the java-1_6 rpm, because JRE is an update of that one - but yast does not
>> recognizes it as an update, and wants to install icetea-web. I had to taboo it. Then yast insisted
>> and tried to install java-1_6_0_opnjdk. Again I said no and tabooed it. Then Yast insisted and
>> wanted to install gcc-ijj - more or less in that order. I also tabooed it.
>>
>> Then YaST got mad at me and wanted to remove openoffice, and I told it to &&%%·$ itself and break
>> dependencies.
>>
>>
>> Is there some other way to make yast happy and recognize that Java IS indeed installed in the
>> system? Perhaps a false java rpm with false provides?
>>
>> Do we need a bugzilla for this?
>
> Yes.  As not all package maintainers follow this list.
>
> Please file one and be this nice to report the issue ID as a clickable
> URL back to this thread.
Just a suggestion: instead of an empty "placeholder" package, why not a
script that would download the JRE or JDK from Oracle, like its done for
MS TTF with "fetchmsttfonts" ?

Ph. A.

--

*Philippe Andersson*
Unix System Administrator
IBA Particle Therapy |
Tel: +32-10-475.983
Fax: +32-10-487.707
eMail: [hidden email]
<http://www.iba-worldwide.com>



signature.asc (267 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Bernhard Voelker
In reply to this post by Carlos E. R.-3

On 08/22/2012 01:18 AM, Carlos E. R. wrote:
> Is there some other way to make yast happy and recognize that Java IS indeed installed in the
> system? Perhaps a false java rpm with false provides?

Hi Carlos,

java has always been a bit different ...
I usually install the JDK somewhere in my application directory,
and just use the environment variables like PATH, JAVA_HOME etc.
to point my application to use it.

Have a nice day,
Berny
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

DenverD-2
In reply to this post by Carlos E. R.-3
On 08/22/2012 01:18 AM, Carlos E. R. wrote:
> Is there some other way to make yast happy and recognize that Java IS
> indeed installed in the system?

i also failed (ignorance?) to move from SUN Java 6 to 7 on my 11.4
day-before-last--the same day my banks locked me out because i was
running 'old' and 'dangerous' software!

tried it with YaST Software Management and then zypper...both installed
ok but neither Firefox nor Chrome could find/use it..

then tried the SLE way
<http://www.novell.com/support/kb/doc.php?id=7010472> which also didn't
work (a BIG surprise, i didn't know SLE_ was *that* different..)

then in a forum thread
<http://forums.opensuse.org/showthread.php?t=467910> found a link to
<http://sites.google.com/site/easylinuxtipsproject/java-for-opensuse>
which (despite the tedious) "just worked":

denverd@linux:~> java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)
denverd@linux:~>

*and* Chrome, Chromium, and Firefox found and used 7 out-of-the-box

as expected Opera, Konqueror, links, and lynx were stymied :(
<http://susepaste.org/42286421>

dd
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Philipp Thomas-3
In reply to this post by Carlos E. R.-3
On Wed, 22 Aug 2012 01:18:21 +0200, "Carlos E. R."
<[hidden email]> wrote:

>Is there some other way to make yast happy and recognize that Java IS
>indeed installed in the system? Perhaps a false java rpm with false provides?

I guess that's what's going to be needed.

Philipp
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Carlos E. R.-2
In reply to this post by Lars Müller-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-08-22 09:22, Lars Müller wrote:
> On Wed, Aug 22, 2012 at 01:18:21AM +0200, Carlos E. R. wrote:

>> Do we need a bugzilla for this?
>
> Yes.  As not all package maintainers follow this list.
>

Done! Thanks for the confirmation.

> Please file one and be this nice to report the issue ID as a clickable URL back to this
> thread.

Bug 776951 - How can we make Yast happy when JRE is installed?

<https://bugzilla.novell.com/show_bug.cgi?id=776951>



- --
Cheers / Saludos,

                Carlos E. R.
                (from 12.1 x86_64 "Asparagus" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA06uQACgkQIvFNjefEBxo3sgCgp/zUU99BQHeiwueAwxaMOyXY
vgsAoL91LtTAcQsRjSICmNWyP5v1E0qA
=CHmL
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Carlos E. R.-2
In reply to this post by Philippe Andersson-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-08-22 09:36, Philippe Andersson wrote:

> Just a suggestion: instead of an empty "placeholder" package, why not a script that would
> download the JRE or JDK from Oracle, like its done for MS TTF with "fetchmsttfonts" ?

I added your suggestion, I like it. I'd be happy with a placeholder, but happier with a fetch
script :-)

However, many people have already downloaded jre. the script would redownload it. Mmmm, and
perhaps an updated script could be added to the update repo each time jre needs an update...

- --
Cheers / Saludos,

                Carlos E. R.
                (from 12.1 x86_64 "Asparagus" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA063kACgkQIvFNjefEBxqlMQCgsnvPB27cu1fJFgH1+B/PVHbV
geEAn0yv9Zj5sl22DzDmgBqGjWYioTLe
=ZCQQ
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Carlos E. R.-2
In reply to this post by DenverD-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-08-22 12:12, DenverD wrote:
> On 08/22/2012 01:18 AM, Carlos E. R. wrote:
>> Is there some other way to make yast happy and recognize that Java IS indeed installed
>> in the system?
>
> i also failed (ignorance?) to move from SUN Java 6 to 7 on my 11.4 day-before-last--the
> same day my banks locked me out because i was running 'old' and 'dangerous' software!
>
> tried it with YaST Software Management and then zypper...both installed ok but neither
> Firefox nor Chrome could find/use it..

I'm using 1.6 JRE because that's the one that they assume I have installed. Banks,
institutions, code generated for windows that also works in Linux and which balks if java is
from a different vendor with strange errors... so yes, I have to use JRE.

I'm not a java expert and do not know how to tell each java program which of the installed
java versions to use, except to make another one the default java with the updatealternatives
thing.

> denverd@linux:~> java -version java version "1.7.0_05" Java(TM) SE Runtime Environment
> (build 1.7.0_05-b06) Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)
> denverd@linux:~>

cer@Telcontar:~> java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
cer@Telcontar:~>

It is simple, I just install their rpm and make it the default java with update alternatives.


I might also install 1.7 and find out what works with it and what not.

- --
Cheers / Saludos,

                Carlos E. R.
                (from 12.1 x86_64 "Asparagus" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA07NcACgkQIvFNjefEBxoZrACfW8NrxnT9TzNG6yQRcd+a+L43
o1MAoIhLoNPlewZe6atwIMNI8QQjcV2X
=ZQsK
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Roger Oberholtzer
On Wed, 2012-08-22 at 16:29 +0200, Carlos E. R. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2012-08-22 12:12, DenverD wrote:
> > On 08/22/2012 01:18 AM, Carlos E. R. wrote:
> >> Is there some other way to make yast happy and recognize that Java IS indeed installed
> >> in the system?
> >
> > i also failed (ignorance?) to move from SUN Java 6 to 7 on my 11.4 day-before-last--the
> > same day my banks locked me out because i was running 'old' and 'dangerous' software!
> >
> > tried it with YaST Software Management and then zypper...both installed ok but neither
> > Firefox nor Chrome could find/use it..
>
> I'm using 1.6 JRE because that's the one that they assume I have installed. Banks,
> institutions, code generated for windows that also works in Linux and which balks if java is
> from a different vendor with strange errors... so yes, I have to use JRE.
>
> I'm not a java expert and do not know how to tell each java program which of the installed
> java versions to use, except to make another one the default java with the updatealternatives
> thing.
>
> > denverd@linux:~> java -version java version "1.7.0_05" Java(TM) SE Runtime Environment
> > (build 1.7.0_05-b06) Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)
> > denverd@linux:~>
>
> cer@Telcontar:~> java -version
> java version "1.6.0_33"
> Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
> cer@Telcontar:~>
>
> It is simple, I just install their rpm and make it the default java with update alternatives.

It would be useful to know which java components installed by openSUSE
correspond to which Sun-supplied components. There is more than JRE,
isn't there?

After the Sun components are installed, I gather, for general use
(browsers and such), there is no longer any need for any other Java
implementations?

Although java seems to be working on my 12.2 system, I think there is a
bit of Java chaff still floating about the place...


Yours sincerely,

Roger Oberholtzer

OPQ Systems / Ramböll RST

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
[hidden email]
________________________________________

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Clayton-29
In reply to this post by Carlos E. R.-2
On Wed, Aug 22, 2012 at 4:23 PM, Carlos E. R.
<[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2012-08-22 09:36, Philippe Andersson wrote:
>
>> Just a suggestion: instead of an empty "placeholder" package, why not a script that would
>> download the JRE or JDK from Oracle, like its done for MS TTF with "fetchmsttfonts" ?
>
> I added your suggestion, I like it. I'd be happy with a placeholder, but happier with a fetch
> script :-)

Just for reference... someone has already tinkered with thsi idea from
hte looks of it..

https://build.opensuse.org/package/show?project=home%3Awildnux&package=oracle-java-installer

I've installed this RPM and I got Java 1.7.. works OK.

C.
--
openSUSE 12.1 x86_64, KDE 4.9.0
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Carlos E. R.-2
In reply to this post by Roger Oberholtzer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-08-22 17:23, Roger Oberholtzer wrote:

> It would be useful to know which java components installed by openSUSE correspond to which
> Sun-supplied components. There is more than JRE, isn't there?

The JRE rpm from Sun/Oracle (I keep forgetting which is which, so don't waste time telling me
;-) ) replaces java-1_6_0-sun-alsa, java-1_6_0-sun-plugin, and java-1_6_0-sun.


> After the Sun components are installed, I gather, for general use (browsers and such),
> there is no longer any need for any other Java implementations?

Programs are happy to use the JRE java, at least in 12.1. It is the rpm database which has a
problem.

- --
Cheers / Saludos,

                Carlos E. R.
                (from 12.1 x86_64 "Asparagus" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA1BIwACgkQIvFNjefEBxpKBACg0DUfAjf4RPojOdIGr2xZRjHU
a7kAn3fqKNIdPBUIJKySv2UYUSPh2b6Z
=N1Ax
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How can I make Yast happy when JRE is installed?

Marco Calistri
In reply to this post by Philippe Andersson-2
On Wed 22 Aug 2012 at 4:36:43 (-0300 UTC) Philippe Andersson wrote:

> On 22/08/12 09:22, Lars Müller wrote:
>> On Wed, Aug 22, 2012 at 01:18:21AM +0200, Carlos E. R. wrote:
>>>
>>> As we know, openSUSE no longer provides updates for Java from Sun. We can install the JRE rpm from
>>> them, and remove the java-1_6 rpm, because JRE is an update of that one - but yast does not
>>> recognizes it as an update, and wants to install icetea-web. I had to taboo it. Then yast insisted
>>> and tried to install java-1_6_0_opnjdk. Again I said no and tabooed it. Then Yast insisted and
>>> wanted to install gcc-ijj - more or less in that order. I also tabooed it.
>>>
>>> Then YaST got mad at me and wanted to remove openoffice, and I told it to &&%%·$ itself and break
>>> dependencies.
>>>
>>>
>>> Is there some other way to make yast happy and recognize that Java IS indeed installed in the
>>> system? Perhaps a false java rpm with false provides?
>>>
>>> Do we need a bugzilla for this?
>>
>> Yes.  As not all package maintainers follow this list.
>>
>> Please file one and be this nice to report the issue ID as a clickable
>> URL back to this thread.
> Just a suggestion: instead of an empty "placeholder" package, why not a
> script that would download the JRE or JDK from Oracle, like its done for
> MS TTF with "fetchmsttfonts" ?
>
> Ph. A.
>

+1 As the Ubuntu script from http://www.duinsoft.nl/packages.php?t=en

Cheers,


--
Marco Calistri <amdturion>
"Do not worry about which side your bread is buttered on: you eat BOTH
sides."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]