首页 > 解决方案 > 为什么我在 NetBeans 安装中出现错误

问题描述

我做了以下

步骤 01:

wget -c https://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 行:<!DOCTYPE html >

标签: netbeans

解决方案


您正在下载网站,您可以在其中选择一个镜像来下载 NetBeans 并尝试执行该镜像。

试试吧

wget -c http://ftp.halifax.rwth-aachen.de/apache/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh

或任何其他镜子并重复您的步骤。


推荐阅读