如何解决错误:运行idea.sh时无法在Arch上启动IntelliJ IDEA?

时间:2019-06-21 14:16:44

标签: java intellij-idea

当我在终端上运行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上进行了修复,而我没有这个问题

1 个答案:

答案 0 :(得分:-2)

我不知道您是否遇到了可以像我一样解决的相同问题,但是我会告诉您任何一种方式,以便您可以找到适合您情况的解决方案。 对我来说,当我下载 tar.gz 文件时,它存储在 tmp 中,起初我将它解压缩到那里并从那里运行 idea.sh。但是当我将它移动到另一个目录时,它给了我同样的错误,除了女巫的事情。所以我只是把它放回 tmp 并且它可以工作,不知道为什么但希望它有帮助。