Ask Your Question
0

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

asked 2019-07-26 02:49:15 +0100

lonk gravatar image

updated 2019-07-26 02:51:34 +0100

  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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2019-07-26 05:08:38 +0100

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 https://ask.libreoffice.org/en/question/166580/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.

edit flag offensive delete link more

Comments

@Mike Kaganski >>> Thank you so much.

lonk gravatar imagelonk ( 2019-07-26 05:24:58 +0100 )edit

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!

Mike Kaganski gravatar imageMike Kaganski ( 2019-07-26 05:35:16 +0100 )edit

@Mike Kaganski

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.

lonk gravatar imagelonk ( 2019-07-30 12:35:52 +0100 )edit
lonk gravatar imagelonk ( 2019-08-01 18:57:09 +0100 )edit

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!

Mike Kaganski gravatar imageMike Kaganski ( 2019-08-02 08:29:40 +0100 )edit

@Mike Kaganski

Noted with great thanks.

lonk gravatar imagelonk ( 2019-08-02 10:12:58 +0100 )edit

@Mike Kaganski

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 |

lonk gravatar imagelonk ( 2019-10-07 06:01:41 +0100 )edit

No idea - please provide steps to check.

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-07 07:04:21 +0100 )edit

@Mike Kaganski

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.

lonk gravatar imagelonk ( 2019-10-07 09:34:12 +0100 )edit

What is "Add"? There's no such button or label or anything on that tab

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-07 10:11:44 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-07-26 02:49:15 +0100

Seen: 46 times

Last updated: Jul 26