When I click the 3 dots next to an installation of Minecraft (in my case 1.18.1), and click Advanced, it doesn't mention anything in the Executable path under Java Settings (Advanced).

So my question is: What's the default Java executable on Mac for Minecraft?

  • 2
    This is a tech support question not gaming, so is likely to be removed. Start with checking if Java is installed by running java -version in Terminal. If so then run which java to help find it's location, and if not then try to install it.
    – l3l_aze
    Feb 21 at 13:19

1 Answer 1


Minecraft does not by default use any externally-installed Java installation on Mac. Instead, when you first run it, it downloads its own copy of the Java runtime. The java executable itself is at:

~/Library/Application Support/minecraft/runtime/java-runtime-beta/mac-os/java-runtime-beta/jre.bundle/Contents/Home/bin/java

where ~ is the user account's home directory. The Library directory is hidden by default by Finder to help users avoid making changes which could break their programs, but you can get to it by selecting "Go > Go to Folder…" from the Finder's menu bar and entering "~/Library" in the box that appears.

If you have a hard time finding the runtime, just launch Minecraft (the game itself, not just the launcher), then in the macOS dock, find the "java" icon in the Dock (the list of icons which usually runs horizontally at the bottom of the screen - try using Command-Tab to switch to the Finder and then move your pointer all the way to the bottom of the screen if you don't see it), and Control-Click (or right-click) it and select "Options > Show in Finder" from the contextual menu that appears.

Incidentally, if what you're trying to do is get Minecraft to use an M1-optimized build of Java for better performance, the instructions in this tutorial worked great for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .