当我在终端上运行idea.sh时,我得到了这个错误:
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 24: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 25: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 27: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 28: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 29: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 30: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 31: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 32: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 33: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 34: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 11: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 13: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 15: which: command not found
/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh: line 17: which: command not found
ERROR: Cannot start IntelliJ IDEA
Required tools are missing - check beginning of "/home/esmael/Downloads/Compressed/idea-IC-191.7479.19/bin/idea.sh" file for details.我的系统是arch,但我最近安装了它,我已经在Fedora和Arch上修复了它,我没有这个问题
发布于 2021-03-17 18:30:02
我不知道你是否有像我一样可以解决的问题,但我会告诉你任何一种方式,也许你可以为你的情况找到解决方案。对于我来说,当我下载tar.gz文件时,它被存储在临时文件中,起初我将它解压到那里并从那里运行idea.sh。但是当我把它移到另一个目录中时,它给了我相同的错误,除了巫师的事情。所以我只是把它放回tmp中,它就能工作了,我不知道为什么,但希望它能有所帮助。
https://stackoverflow.com/questions/56705170
复制相似问题