Issue 86541 - Error message "No JRE Error" in macro dialogs suggests that Java is required to run Basic & Pyton,, with is incorrect
Summary: Error message "No JRE Error" in macro dialogs suggests that Java is required...
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.3.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 124975 125238 125944 126997 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-02-28 12:59 UTC by villeroy
Modified: 2016-11-08 17:28 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description villeroy 2008-02-28 12:59:24 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
Comment 1 milek_pl 2008-07-16 22:18:48 UTC
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.
Comment 2 villeroy 2008-07-18 00:36:36 UTC
" 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.
Comment 3 Mechtilde 2008-11-06 19:25:44 UTC
close the invalid issue
Comment 4 cno 2011-01-10 11:12:52 UTC
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"
Comment 5 cno 2011-01-10 11:27:00 UTC
Setting a more realistic priority.
Comment 6 Andreas Säger 2014-05-29 13:05:17 UTC
(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.
Comment 7 Ariel Constenla-Haile 2014-05-29 14:01:46 UTC
*** Issue 124975 has been marked as a duplicate of this issue. ***
Comment 8 Ariel Constenla-Haile 2014-05-29 14:54:22 UTC
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.
Comment 9 Ariel Constenla-Haile 2014-07-11 15:03:34 UTC
*** Issue 125238 has been marked as a duplicate of this issue. ***
Comment 10 Andreas Säger 2014-08-05 12:23:05 UTC
(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.
Comment 11 Ariel Constenla-Haile 2014-12-14 01:24:06 UTC
*** Issue 125944 has been marked as a duplicate of this issue. ***
Comment 12 oooforum (fr) 2016-06-14 07:35:59 UTC
*** Issue 126997 has been marked as a duplicate of this issue. ***
Comment 13 Peter Roelofsen 2016-11-08 17:28:09 UTC
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.