我正在运行Ubuntu14.04桌面的64位版本,当我运行netbeans安装程序 (PHP )时,会收到以下错误消息:
Configuring the installer...
Searching for JVM on the system...
Preparing bundled JVM ...
netbeans-8.1-php-linux-x64.sh: 1: eval: /tmp/.nbi-4114443.tmp/jre-8u60-linux-x64.bin: Permission denied
Cannot prepare bundled JVM to run the installer.
Most probably the bundled JVM is not compatible with the current platform.
See FAQ at http://wiki.netbeans.org/FaqUnableToPrepareBundledJdk for more information.当我检查wiki时,它告诉我:
On Debian-based 64bit distributions (such as Ubuntu) it is usually enough to install the ia32-libs package to successfully start the bundled 32bit installer. 当我试着跑
sudo apt-get install ia32-libs我知道错误:
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate所以我跑了
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0..。然后执行安装程序并获得相同的该死错误消息:
Configuring the installer...
Searching for JVM on the system...
Preparing bundled JVM ...
netbeans-8.1-php-linux-x64.sh: 1: eval: /tmp/.nbi-4114845.tmp/jre-8u60-linux-x64.bin: Permission denied
Cannot prepare bundled JVM to run the installer.
Most probably the bundled JVM is not compatible with the current platform.
See FAQ at http://wiki.netbeans.org/FaqUnableToPrepareBundledJdk for more information.uname -a的输出:
Linux stuart-home 3.19.0-31-generic #36~14.04.1-Ubuntu SMP Thu Oct 8 10:21:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linuxjava -version的输出
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)自那以后,我尝试了安装Java 9,但这也不起作用。
作为一种解决办法,netbeans下载全文似乎可以工作。这种类型的netbeans安装只有一个下载选项,而对于x86和x64只有一个下载选项。我想知道它是否与此相关,还是仅仅PHP版本有一个bug?

现在,我将保留它,使用完整的版本,但我很想看看是否有一个实际的解决方案,我们中的人,谁只是想要最低限度的PHP安装。
发布于 2015-11-10 15:36:20
我也有同样的问题(NetBeans 8.1,Debian8.1)。
在/etc/fstab中,我删除了/tmp定义中的"noexec“参数,重新装入了/tmp,现在它工作了。(缺少执行许可) ;)
发布于 2015-11-07 08:16:24
您一定是从他们的站点下载了netbeans,这是一个tar文件。
./netbeans.sh然后会出现一个窗口,用于以GUI形式安装netbeans。
发布于 2016-04-01 08:34:09
我试图在我的计算机上为一个非根用户安装netbeans时遇到了这个问题,但是外接程序所有者执行bit帮助了。使用的命令如下:
chmod u+x netbeans-8.1-linux.sh在那之后,当我跑
./netbeans-8.1-linux.sh它起了作用,安装在那之后没有任何问题。
https://askubuntu.com/questions/694188
复制相似问题