title: Permission Error When Exporting to $JAVA_HOME on MacOS Big Sur
body: <p>Whenever I try to set my Java Home <code>export JAVA_HOME=$(/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home)</code> in my .zshenv or .zshrc files, I get an <code>/Users/{USER NAME HERE}/.zshenv:1: permission denied: /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home</code> error when starting up my terminal. In fact, I can't seem to be able to export anything (for example, <code>export TEST=$(/Users/{USER NAME HERE})</code> gives me a <code>zsh: permission denied: /Users/{USER NAME HERE}</code> error. I already gave full disk access in system preferences, but that doesn't seem to be working either. I am the only user on my computer.</p>