---
title: "Discussion on \"My macOS Cheat Sheet\" | Hashnode"
description: "Discussion on \"My macOS Cheat Sheet\". How to set JAVA_HOME on macOS Monterey?\n\nFirst check which shell you are using (either bash or zsh).\nFor zsh shell, we can put the environment variables at ~/.zshenv or ~/.zshrc.echo $SHELL\n/bin/zsh\n\n\nOn Mac OS X 10.5 or later, we can use /usr/libexe..."
url: "https://hashnode.com/posts/my-macos-cheat-sheet/6530eb2a1e7df693677b6a4b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [My macOS Cheat Sheet](https://schmidtdennis.de/my-macos-cheat-sheet?utm_source=hashnode&utm_medium=feed)

How to set JAVA\_HOME on macOS Monterey? First check which shell you are using (either bash or zsh). For zsh shell, we can put the environment variables at ~/.zshenv or ~/.zshrc.echo $SHELL /bin/zsh On Mac OS X 10.5 or later, we can use /usr/libexe...

Oct 19, 2023 · 1 min read · schmidtdennis.de  
Updated Nov 1, 2023  
Read the article

-   [#macos](https://hashnode.com/tag/macos)
-   [#apple](https://hashnode.com/tag/apple)
-   [#mac](https://hashnode.com/tag/mac)

## Written by

[Dennis Schmidt](https://hashnode.com/@schmidtdennis)

@schmidtdennis · Germany

  
[View profile](https://hashnode.com/@schmidtdennis)

Software Engineer at BMW

Software Engineer at BMW, Oracle Certified Professional Java SE 11 Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
