Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么我在NetBeans安装中遇到错误_Netbeans - Fatal编程技术网

为什么我在NetBeans安装中遇到错误

为什么我在NetBeans安装中遇到错误,netbeans,Netbeans,我做了以下几件事 步骤01: wget-chttps://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh 步骤02: chmod+x Apache-NetBeans-11.2-bin-linux-x64.sh 步骤03: /Apache-NetBeans-11.2-bin-linux-x64.sh 错误: ./Apache-NetBeans-11.2-bin

我做了以下几件事

步骤01:

wget-chttps://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
步骤02:

chmod+x Apache-NetBeans-11.2-bin-linux-x64.sh
步骤03:

/Apache-NetBeans-11.2-bin-linux-x64.sh
错误:

./Apache-NetBeans-11.2-bin-linux-x64.sh:第1行:意外标记“newline”附近的语法错误
./Apache-NetBeans-11.2-bin-linux-x64.sh:第1行:


您正在下载一个网站,在那里您可以选择一个镜像来下载NetBeans并尝试执行它

试试看

wget-c


或者任何其他镜像,然后重复您的步骤。

显然wget下载了html页面,而不是实际的shell脚本。好的,谢谢您的更新。我是从Fedora 34上的mirrorNetbeans 12.4下载的。尝试从许多镜像下载,但仍然显示相同的消息。。。尝试使用sudo和curretn用户安装。同样的结果。。蒂亚。