Page 1 of 1

[SOLVED] LibreOffice requires a Java runtime environment

Posted: 02 Apr 2017, 15:32
by amplatfus
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

Re: LibreOffice requires a Java runtime environment

Posted: 02 Apr 2017, 17:47
by Ed_P
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

Re: LibreOffice requires a Java runtime environment

Posted: 02 Apr 2017, 18:15
by amplatfus
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

Re: LibreOffice requires a Java runtime environment

Posted: 02 Apr 2017, 18:41
by Blaze

Re: LibreOffice requires a Java runtime environment

Posted: 02 Apr 2017, 20:52
by amplatfus
Many thanks. Now with the version you shared it's working.
I changed the subject into [solved].

Thank you again for fast response.
amplatfus

Re: [SOLVED] LibreOffice requires a Java runtime environment

Posted: 19 Apr 2017, 03:04
by francois
@blaze:
Thanks for java.

Re: LibreOffice requires a Java runtime environment

Posted: 19 Apr 2017, 12:32
by Bogomips