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

Java 如何解决错误:运行IDEA.sh时无法在arch上启动IntelliJ IDEA?,java,intellij-idea,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/

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

我不知道你是否有可以解决的问题,就像我解决的一样,但我会告诉你任何一种方法,也许你可以为你的案例找到解决方案。
对于我来说,当我下载tar.gz文件时,它被存储在tmp中,最初我在那里提取它并从那里运行idea.sh。但是当我把它移到另一个目录时,它给了我和你一样的错误,除了巫婆的东西。所以我只是把它放回tmp中,它就可以工作了,idk why,但希望它能有所帮助。

我的问题的屏幕截图:看起来您的系统上没有安装“which”命令。试着安装它,然后再试一次。mwarren我是一个来自官方网站的活动,根据官方网站的说法,我只需要打开idea.sh来打开程序,事实上这是在我之前发生的事情,但我不知道为什么现在出现问题。你试着在命令行上键入哪个?是不是说找不到命令?不是我只是试着运行idea.sh