Next to Java Platforms, choose 'JDK 1.7' (or the name of the JDK you entered earlier) from the popup. If you want to use Java 7 language features, do the following: From the Categories list, choose Sources; In the Source/Binary Format field choose 'JDK 7'. Now, let's make sure the new JDK is being used to run your code. When you install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure. Depending on your processor, the downloaded file has one of the following names: jdk-8uversion-macosx-amd64.dmg. Aug 20, 2020 Download the latest version of Java SE Development Kit 8 for Mac - The Java Development Kit (JDK). Read 0 user reviews of Java SE Development Kit 8 on MacUpdate.
I am trying to create my first macro with LibreOffice version 6.1.6.3 on a MacBook Pro running Mac OS X 10.14.5. When I select menu item 'Tools | Macros | Run Macro' I get this popup box: 'LibreOffice requires Oracle's Java Development Kit (JDK) on Mac OS X 10.10 or greater to perform this task. Please install them and restart LibreOffice.' However, the title of the popup box is 'JRE Required'.
I found a potential answer to this problem in the question 'Mac Java problem when creating a database' but the detailed directions talk about installing the JDK. The error messages I got in the popup implied that I need both the JDK and the JRE.
When I install the JDK will I also get a copy of the JRE? What are the current instructions for installing the needed Oracle libraries if I want to use macros?
Thanks, bobby
editretagflag offensiveclosemergedelete
Comments
![Jdk Jdk](/uploads/1/1/9/0/119013396/439401078.png)
When I install the JDK will I also get a copy of the JRE?
Yes. As I understand, Oracle doesn’t provide a JRE alone. Sorry, I can’t give any other pointer as I don’t use Mac.
Apple Jdk
@gabix There is a JRE for Mac OS X (current versions filename is
jre-8u221-macosx-x64.dmg
), but LibreOffice can't deal with that.![Install java 8 mac Install java 8 mac](/uploads/1/1/9/0/119013396/757840872.png)
I meant the current Java, not the old Java 8.
Netbeans Download
E-bot, why not repost it as an answer?
Install Java 8 Mac
Since I work with Windows and not with Mac, I only saw it as an additional hint. And the question was already marked as solved. If it still helps, so much the better. Have all your joy in it.