Anyone knows how IntelliJ picks up my JAVA_HOME? L...
# intellij
m
Anyone knows how IntelliJ picks up my JAVA_HOME? Looks like it's able to pick up what I put in
.zshrc
even though it's not (always) started from the command line? Am I just lucky or do "graphical" apps also inherit the shell env variables somehow on MacOS?
s
IntelliJ actually has a bit of magic that runs a shell and pulls out its environment variables on startup
1
🧙 1
Let me see if I can find the docs that mention it
🙏 1
m
Perfect, thank you ! 🙏
This is 👌 I wish XCode did the same
Another mistery of life explained, I'll sleep well tonight 😌 ! thanks again
e
it broke in the Android Studio 2021.1.0 distribution (fixed in .1 patch): https://issuetracker.google.com/issues/216364005
👀 1
😮 1