as soon as I start a new shell window and type echo $JAVA_HOME, nothing appears and upon inspection of variables listed by env, JAVA_HOME does not appear. Everything seems to work great now, thanks a ton!Įdit: I seem to be running into a problem where the command export JAVA_HOME= in my ~/.zshrc doesn't seem to actually set JAVA_HOME. I'm sure it was a problem with my PATH, but since I couldn't figure it out after a while, I just made a new conda env with the tools that automatically install their own openjdk and uninstalled openjdk from my active conda base env. I had openjdk installed in my conda base env (it was required by another program installed with conda) and I could not get this solution to work until I uninstalled openjdk from my active conda env or switched to an env without openjdk installed. Quick warning: This does NOT seem to work if you have Java installed in some way through conda. Most other guides I tried to follow are written for outdated brew functionality. Thank you for this recent tutorial on how to manage Java versions with Homebrew.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |