最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

homebrew - jEnv with zulu. cant seem to add the the JDK - Stack Overflow

programmeradmin1浏览0评论

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

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

Share Improve this question edited yesterday TheUltimateHack asked yesterday TheUltimateHackTheUltimateHack 13711 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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.

发布评论

评论列表(0)

  1. 暂无评论