[SOLVED] LibreOffice requires a Java runtime environment

Technical issues/questions of an intermediate or advanced nature.
User avatar
amplatfus
Samurai
Samurai
Posts: 153
Joined: 30 Oct 2012, 14:55
Distribution: MATE Porteus-v5.0rc1
Location: Romania

[SOLVED] LibreOffice requires a Java runtime environment

Post#1 by amplatfus » 02 Apr 2017, 15:32

Hi,

I have LXDE Porteus with LibreOffice. I need to run Macro but I have this error:

"LibreOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice."

Please, can I solve this error?

Thank you so much,
amplatfus
Last edited by amplatfus on 02 Apr 2017, 20:46, edited 1 time in total.
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: LibreOffice requires a Java runtime environment

Post#2 by Ed_P » 02 Apr 2017, 17:47

amplatfus wrote:Please, can I solve this error?
This is the approach I use: viewtopic.php?f=75&t=3332

Code: Select all

guest@porteus:~$ ls -lgh /mnt/sda6/porteus3.2/Modules/*jre*
-rwxrwxrwx 1 root 55M Feb 22 09:22 /mnt/sda6/porteus3.2/Modules/jre-8u121-x86_64-1.xzm*
guest@porteus:~$ 
From a script I use with it:

Code: Select all

echo
echo "1. Download the current non-RPM Linux file. "
firefox "http://www.java.com/en/download/linux_manual.jsp" > /dev/null 2>&1 &
echo "   Close Firefox when done. "
echo " "
echo "2. Invoke [Menu > System Tools] Java Builder "
echo " "
echo "3. Point it to the /root/Downloads/jre-*.tar.gz file "
echo "   and run it. It takes a moment to start and several to end. "
echo " "
echo "4. When it ends press Enter to copy the jre-*.xzm file to the "
echo "   $MODULES folder."
read
Ed

User avatar
amplatfus
Samurai
Samurai
Posts: 153
Joined: 30 Oct 2012, 14:55
Distribution: MATE Porteus-v5.0rc1
Location: Romania

Re: LibreOffice requires a Java runtime environment

Post#3 by amplatfus » 02 Apr 2017, 18:15

Thank you all for replies.
@Ed_P Could you please share jre-8u121-x86_64-1.xzm? Shoud this working on LXDE?

All the best,
amplatfus
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: LibreOffice requires a Java runtime environment

Post#4 by Blaze » 02 Apr 2017, 18:41

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
amplatfus
Samurai
Samurai
Posts: 153
Joined: 30 Oct 2012, 14:55
Distribution: MATE Porteus-v5.0rc1
Location: Romania

Re: LibreOffice requires a Java runtime environment

Post#5 by amplatfus » 02 Apr 2017, 20:52

Many thanks. Now with the version you shared it's working.
I changed the subject into [solved].

Thank you again for fast response.
amplatfus
Porteus-v5.0. rc1 MATE. Thank you all dev team and @Blaze for helping to configure it, thanks to entire Porteus community members for great topics.
Kernel: 000-kernel-5.4.8,xzm

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: [SOLVED] LibreOffice requires a Java runtime environment

Post#6 by francois » 19 Apr 2017, 03:04

@blaze:
Thanks for java.
Prendre son temps, profiter de celui qui passe.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: LibreOffice requires a Java runtime environment

Post#7 by Bogomips » 19 Apr 2017, 12:32

Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply