TheUltimateHack
TheUltimateHack

Reputation: 137

jEnv with zulu. cant seem to add the the JDK

Pretty new to Mac. Just bought a new MacBook Pro with M4 Im in zsh (z shell) I installed homebrew I installed jEnv I installed Zulu 8 ARM JDK

When executing "jenv add" command, I keep getting path not found Here is my terminal command

jenv add /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home

That path is correct. I navigated in finder to MacintoshHD, Library, Java, JavaVirtualMachines, zulu-9.jdk, contents, home and copied the path from there. Any suggestions??

Edit: Forgot to add the error message

ln: /Users/******/.jenv/versions/zulu64-1.8.0.442: No such file or directory

Upvotes: 1

Views: 56

Answers (1)

Lamanus
Lamanus

Reputation: 13581

jenv is installed with a user permission but the /Library path is for root. So the permission is not enough to create a symlink, and so you may need a root permission or install jdk to the user path.

Upvotes: 0

Related Questions