DEV Community

loading...

Discussion on: Installing Java on MacOS using Homebrew and JEnv

Collapse
ramuta profile image
Matej Ramuta • Edited

Hey, I got this error at step 7:

ln: /Users/username/.jenv/versions/openjdk64-1.8.0.275: Not a directory
Enter fullscreen mode Exit fullscreen mode

For some reason, the .jenv folder has not been created.

The workaround is to create both the .jenv and the .jenv/versions folders:

mkdir ~/.jenv
mkdir ~/.jenv/versions
Enter fullscreen mode Exit fullscreen mode

Everything else then worked like a charm. Thanks for the tutorial! ;)

Forem Open with the Forem app