Error map
Unable to locate a Java Runtime macOS: The operation couldn't be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java
macOS · layer 6, Platform & cloud
Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (7)
macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)
Homebrew is installed in /opt/homebrew on Apple Silicon Macs, which isn’t on PATH until you add its shellenv line.
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Build tools (Gradle, Maven, Android tools) can’t find a JDK.
Homebrew: Error: Permission denied @ dir_s_mkdir - /usr/local/Cellar / /opt/homebrew is not writable
Homebrew can't write to its prefix because the folders are owned by another user or root.
Homebrew: Error: No available formula with the name "x". Did you mean ...?
Homebrew can't find a formula or cask with that name in the taps it knows.
Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS
Homebrew requires a newer Command Line Tools version than the one installed.
Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'
A cask install failed because the app is already installed manually (or a leftover exists).
macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool
You ran an Intel (x86_64) program on an Apple Silicon Mac without Rosetta 2 (or an arm64 binary on an Intel Mac).
Two steps away (21)
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
OCI runtime create failed: exec: "x": executable file not found in $PATH
The command you asked the container to run doesn’t exist inside the image — wrong command name, a shell that isn’t installed (bas…
bash: /bin/rm: Argument list too long
A glob like * expanded to more file names than the kernel allows in one command (ARG_MAX), so the command never ran.
fatal: not a git repository (or any of the parent directories): .git
You ran a Git command outside a Git working tree.
Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run
The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.
java.lang.UnsupportedClassVersionError: class file version 61.0, this version of the Java Runtime only recognizes up to 55.0
Code compiled for a newer Java version is running on an older JVM.
npm ERR! code EACCES — permission denied
npm can’t write to a directory — usually global installs into a root-owned folder.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
Homebrew: Error: Failure while executing; `git fetch --force origin` exited with 128 / fatal: not in a git directory
`brew update` couldn't fetch the Homebrew repositories — network, a broken git state or safe.directory problems.
zsh: compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]?
zsh refuses to load completions from directories owned by another user or writable by others.
zsh: no matches found: package[extra] (glob pattern not matched)
zsh treats `[ ]`, `*` or `?` in an argument as a glob and fails when nothing matches, unlike bash which passes the text through.
gyp: No Xcode or CLT version detected!
node-gyp on macOS can’t find the Xcode Command Line Tools to compile native modules.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun
The Xcode Command Line Tools are missing or broken — typical right after a macOS update.
macOS: Agreeing to the Xcode/iOS license requires admin privileges, please run "sudo xcodebuild -license" and then retry this command
A new Xcode (or CLT) version needs its license accepted before command-line tools run.
macOS: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
A command needs the full Xcode app, but `xcode-select` points to the Command Line Tools only.
macOS: “app” cannot be opened because Apple cannot check it for malicious software / Apple could not verify “app” is free of malware that may harm your Mac
Gatekeeper blocked an app that is not notarized by Apple.
macOS: “app” can’t be opened because it is from an unidentified developer
Gatekeeper refuses to open an app that isn't signed with a registered Developer ID.
exec /usr/local/bin/docker-entrypoint.sh: exec format error
The container tried to run a binary built for a different CPU architecture (arm64 vs amd64) — or a script with a broken shebang /…
macOS: dlopen: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')
A library or binary was built for a different CPU architecture than the process loading it.
macOS: dyld[123]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib — Reason: tried: ... (no such file)
A program needs a dynamic library that is missing or was moved/removed (often after a Homebrew upgrade).
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError