Created attachment 120505 [details] screenshot On OS X 10.11 WITHOUT Java6 installed (which is the OS default, and Java is very deprecated on OS X). Clicking Tools -> Macros -> Run Macro... and LibreOffice immediately crashes and a Please install Java dialog appears. On restart the recovery dialog appears. LO should try to remove the dependency on Java 6, irrespective of the fact it should not crash LO when not present.
Created attachment 120506 [details] screenshot This is my Options > Advanced. I do have Java 8 installed and being "used" by LO.
It might help if you told us which macro you are trying to run. Additionally, and at present, a fix has been suggested to avoid the requirement for Java6 in master 5.1, however, it comes with its own problems, see bug 94716. Versions 5.0.x and lower still require Java6 for OSX, plus any additional Oracle JDK that a user might install. Again, this is already known. These are known issues. Setting as DUP of 94716. *** This bug has been marked as a duplicate of bug 94716 ***
Thanks Alex, this bug triggers when using the menu itself, you never get to ever run a macro. Will test 5.1 nightly...