Ask Your Question
1

Macros > Libreoffice requires a Java runtime environment

asked 2016-03-16 15:04:37 +0200

ozaarm gravatar image

updated 2016-03-17 23:29:36 +0200

I was going to stop posting as I fixed my own problem, however the fix is worth recording as it's not easy and may help others.

PROBLEM : I got the infamous "Libreoffice requires a Java runtime environment" when trying to do Macros and macros in Python with my Mac. I had just installed LibreOffice (5.1) and installed or re-installed a JRE (build 1.8.0_72-b15) but the error appeared everytime I clicked Tools > Macros > Organize Macros > any option. Even after quiting the program.

SOLUTION : Luckily I noticed that the Tools > Macros > Record was disabled; so first I searched the Net to find out how to enable it - this was also not easy again. The option is hidden under top left of Mac screen > Libreoffice > Preferences > Libreoffice > Advanced

I checked "Enable macro recording (limited)" at the bottom. Then I noticed that "Use a Java runtime environment" was checked (good) but that none of the two listed JRE options were checked.

I then checked the latest one (1.8.0_72), pressed OK and then was able to run macros.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-11-22 18:34:48 +0200

I had a similar problem but instead of trying to find a solution I just went back to the old version. So haven't upgraded since 5.0. This seems to have been fixed in version 5.1.6.2. Just upgraded and tested and seems fine now.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-16 15:04:37 +0200

Seen: 3,283 times

Last updated: Nov 22 '16