JRE for LibreOffice 3.6.0.4

On Calculate 11.6, I installed JRE following this guide.
http://www.calculate-linux.org/boards/45/topics/13234

Now I had problems with Calculate 12.

On Oracle I found, downloaded and saved <jre-6u34-linux-x64.bin> in /var/calculate/remote/distfiles/

With <emerge -p jre-6u34-linux-x64.bin> I get :

Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in order:
Calculating dependencies… done!
emerge: there are no ebuilds to satisfy “jre-6u34-linux-x64.bin”.
emerge: searching for similar names…
emerge: Maybe you meant any of these: app-emulation/emul-linux-x86-db, app-emulation/emul-linux-x86-jna?

With I get:

Available 32-bit Java browser plugins
Available 64-bit Java browser plugins

How can I fix this error?
Thanks

Hi Giuseppe,

My tutorial isn’t up-to-date ^^’

EDIT : The tutorial is up-to-date !!

To install JRE-PLUGIN, you must use :

emerge -p sun-jre-bin

tchernobyl ~ # emerge -p dev-java/sun-jre-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16 
[ebuild  N     ] dev-java/java-config-2.1.11-r3 
[ebuild  N F   ] dev-java/sun-jre-bin-1.6.0.35  USE="X alsa nsplugin -jce -pax_kernel" 
[ebuild  N     ] virtual/jre-1.6.0

The version must match with the JRE version in portage, actually :
dev-java/sun-jre-bin-1.6.0.35

Now, download the right version to :
Repository Oracle Java

And on my station :

tchernobyl ~ # cp /home/julien/Téléchargements/jre-6u35-linux-x64.bin /var/calculate/remote/distfiles/
tchernobyl ~ # emerge -p dev-java/sun-jre-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16 
[ebuild  N     ] dev-java/java-config-2.1.11-r3 
[ebuild  N f   ] dev-java/sun-jre-bin-1.6.0.35  USE="X alsa nsplugin -jce -pax_kernel" 
[ebuild  N     ] virtual/jre-1.6.0

See the “F” Capital to “f” tiny … That’s ok to launch installation.

Caution, download the right version of JRE : 32 Bits or 64 Bits.

Then you can use the tutorial …

Regards.

Julien | XKomodor

Hi Julien

Before to use your instructions I decided to do a system update, and after 3 hours of compilation, I have LibreOffice Base updated to version 3.6.1.2 functioning well, with this setting:

Opzioni java
Sun Microsystems Inc 1.6.0_24
Posizione /usr/lib64/jvm/icedtea-bin-6/jre

I will use your instructions, if necessary, for future needs.

thanks