What is the relationship or importance of JRE for LibreOffice Macro in Python?

  1. What is the relationship or importance of JRE for LibreOffice Macro in Python ?

image description

2.Does someone have to install JRE, if he receives and opens a LO Calc file with Macro in Python for the first time ?

Heh. I remember you have been using latest daily builds of master toward 6.4 - and that problem should not have been there - I thought I have fixed that (already in 6.2: see Why is Java needed for running macros on Libreoffice?)… so - please file a new bug for that, with specific steps, because JRE is definitely not needed for Python scripts, and the warning only means there’s a kind of bug in the process of searching for the script engine.

@mikekaganski >>> Thank you so much.

Please don’t forget to mention the bug # here, and - also add me to CC list in the bug itself (because currently this site’s notification system is broken, and I likely will not receive a notification when you add the # here). Thank you!

@mikekaganski

In my office, every notebook is installed all the same - Fedora 30 Workstation KDE from Fedora Spins and LO 6.4.0.0.alpha+. Before I will report the bug, I tried to uninstall LO and reinstall Version: 6.2.5.2
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159 CPU threads: 4; OS: Linux 5.1; UI render: default; VCL: kde5; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded.

The message box ‘JRE Required’ as shown above still shows.

@mikekaganski

tdf#126643.

Fixed for 6.4. Will be available in dailies tomorrow (if nothing breaks dailies: it happens).

Thanks for spotting this; obviously there are more places affected by this than I imagined. If you find similar cases, please file new reports, and CC me there. Thank you!

@mikekaganski

Noted with great thanks.

@mikekaganski

Today I learned creating new menu linking with BASIC Macro for the first time, such warning message popped up again after clicking to select a Sub. Will this be fixed also in 6.4.x.x as you mentioned above ?

| Fedora 30 Workstation KDE of Fedora from Spins | LibreOffice 6.3.1.2-2 |

No idea - please provide steps to check.

@mikekaganski

Menu bar | Tools > Customize

Menus Tab | Scope > file1.ods

Add

New menu pop up | Menu name > New Menu 1 > ok

Menus tab | Category > Macros

Such message shows immediately after clicking Macros.

What is “Add”? There’s no such button or label or anything on that tab

@mikekaganski

It is from clicking the button next to the listbox of Target on Menus tab.

Ah, ok. So it all boils down to this:

Menu bar | Tools > Customize

Menus Tab | Category > Macros

No, this is not handled yet… Please file a bug report, as I asked you above.

@mikekaganski

Noted and thank you so much for your help.