Page 1 of 1

[Issue] Java loop after using Format → Picture → Macro

Posted: Thu Oct 26, 2023 1:52 pm
by DaveyJones202020
Sometimes when I am using the "picture" dialogue box I accidentally hit the tab Macro and always immediately regret it.

As soon as I do that I get this error: Open Office requires a Java Runtime Environment to perform this task. Please install a JRE and restart open office.

I dont use macros - actually I barely know what one is - but there seems to be no way to undo this action. Once I press OK on the popup I get another popup saying "to use the "java" command line tool you need to install a jdk"...More info/ok.

Whatever I press I basically get stuck in this loop - I cant even shut down the application. The only thing I can do is force close it. And I am afraid I will lose any unsaved work.

It's bizarre that this action cannot be cancelled - I do it fairly often when trying to find a setting, because of the prominent placing of the macros tab. But I never ever want macros!

Any tips welcome.

( I haven't worked out how to share screenshots here or I would!)

 Edit: Changed subject, was  
Make your post understandable by others 
-- MrProgrammer, forum moderator 

Re: Java Runtime error

Posted: Thu Oct 26, 2023 3:19 pm
by MrProgrammer
DaveyJones202020 wrote: Thu Oct 26, 2023 1:52 pm I get this error: Open Office requires a Java Runtime Environment to perform this task. Please install a JRE and restart open office.
[Tutorial] Mac FAQ, Q06/A06 How do I install Java for OpenOffice on a Mac?

DaveyJones202020 wrote: Thu Oct 26, 2023 1:52 pm Once I press OK on the popup I get another popup
From memory, if you use OK about 20 times, OpenOffice finally stops the popups. I don't experience the problem since I don't try to use macros for pictures. A long ago I installed Java on MacOS and told OpenOffice to use it.
[Solved] User experience: OpenOffice 4.1.7 on MacOS 10.14.6

DaveyJones202020 wrote: Thu Oct 26, 2023 1:52 pm because of the prominent placing of the macros tab.
The tab doesn't seem prominent on my system.
202310271045.gif
202310271045.gif (22.39 KiB) Viewed 2799 times

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.

Re: Java Runtime error

Posted: Thu Oct 26, 2023 8:34 pm
by cwolan
MrProgrammer wrote: Thu Oct 26, 2023 3:19 pm From memory, if you use OK about 20 times, OpenOffice finally stops the popups.
On Windows it's 15 times.

Issue in Bugzilla: 55977 - Format picture/macros gives continuous loop if jre not present

Re: Java loop after using Format → Picture → Macro

Posted: Sat Oct 28, 2023 3:09 am
by DaveyJones202020
Thanks for your reply.

I wish I knew how to upload images to this forum - on my Open Office the macros tab takes up a whole line equivalent to the size of all the other tabs combined!

So from what you are saying the only two options are:
1) Instal this JRE simply to prevent this issue - I dont know what a JRE is and this would appear to be my only use - to be able to close this loop.
2) Hit ok 20 times - going through the loop 20 times, if I have understood correctly.

Seems a bit flawed, no?

Re: Java loop after using Format → Picture → Macro

Posted: Sat Oct 28, 2023 3:02 pm
by Hagar Delest
DaveyJones202020 wrote: Sat Oct 28, 2023 3:09 am I wish I knew how to upload images to this forum
See How to attach a document here. Crop your pics so that they are below 128KiB.