Apache OpenOffice (AOO) Bugzilla – Issue 86541
Error message "No JRE Error" in macro dialogs suggests that Java is required to run Basic & Pyton,, with is incorrect
Last modified: 2016-11-08 17:28:09 UTC
Without JRE you get the foloowing error message without reason: "OOo requires a JRE to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now? [Yes|No|Cancel] This occurs when: - I want to use macros (Tools>Macros>Run... - I want to organize non-Basic macros (Tools>Macros>Organize>[not Basic] - I want to assign a macro to anything This is particulary annoying when the message pops up repeatedly, which is why I set priority to level 2. See also: http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=3049
This is not without a reason, these functions depend on JRE, as stated in the description. Maybe you didn't notice but the organize macro dialogs are empty without JRE and filled in with JRE. So this is not a defect, this functionality depends on JRE, and this is a reason why it displays. If you want to remove dependency of this function to Java, please add your vote to issue 45709 and add a comment that you want to remove dependency re: macro dialogs. Have to close this as invalid, as this is not a bug but required behavior. Sorry.
" Maybe you didn't notice but the organize macro dialogs are empty without JRE and filled in with JRE." Milek, In fact I didn't notice that. My laptop has a fresh OOo install without Java and I can run all the macros (Basic and Python) contained in my profile. For the Python macros I have to confirm the wrong error message before I get a fully functional dialog for Python macros.
close the invalid issue
Reopen. See http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=23124. In short: the error message is suggesting that you can not run any macros without JRE, which is untrue as far as Basic and Python are concerned. Also changed the summary of the issue accordingly. It was "Extremely annoying "No JRE Error" in macro dialogs"
Setting a more realistic priority.
(In reply to cno from comment #5) > Setting a more realistic priority. I won't argue about the priority of a shameful defect which wrongly suggests that the whole macro functionality depends on Java. It affects Tools>Macros>Run... Tools>Customize... at any point where you assign a macro to some document event, menu item, toolbar button or shortcut. All the places where you asign some object's script event (sheet tab events, form controls, certain Writer fields and many more). With Java disabled you get a sequence of error messages (one per library?) with Yes|No|Cancel. [Yes] leads to the Java options, [No] and [Cancel] do the same (nothing at all). After you canceled all the error messages without canceling the initial macro dialog, you can see all non-Java macros and use them anyway.
*** Issue 124975 has been marked as a duplicate of this issue. ***
Testing with a picture in Writer, "Use a Java runtime environment" unchecked in the Options dialog - OpenOffice - Java, I had to click 15 times in the "No" button of the message box telling "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now?" (string QBX_JAVADISABLED in svtools/source/java/javaerror.src). I assume the message box was executed 15 times.
*** Issue 125238 has been marked as a duplicate of this issue. ***
(In reply to Ariel Constenla-Haile from comment #8) > I assume the message box was executed 15 times. One time for each possible script event. It's a shame.
*** Issue 125944 has been marked as a duplicate of this issue. ***
*** Issue 126997 has been marked as a duplicate of this issue. ***
Apparently still there. What strikes me in the replies is that the repetitive popping up of the error message is considered to be normal behavior. The error message is fine, but once is enough; it's that it keeps popping up what made Villeroy file this bug report.