Java does not run after migration from 3.6.6 to 4.0.3

I migrated from LibO to on XP Prof / SP3.

There was no problem with a macro I had there in Writer. Now when I try to record the macro again, (it got lost during the migration) it seems I can record a macro but when I run it, nothing happens and I get the error message

image description

Opening Tools/Options/LibreOffice/Advanced I get the following window content

What do I need to do to get macros running again?

Any hint is appreciated!


Just select the installed JRE (with a mouse click)


Restore recorded macros, lost during the migration

You may copy the folder Standard

(path: "user profile"\LibreOffice\3\user\basic\Standard)

and paste it in "user profile"\LibreOffice\4\user\basic\.

@manj_k - Thanks for this information!