无法安装Netbeans 8.1

我正在运行64位版本的Ubuntu 14.04桌面,当我运行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. 

当我检查维基时,它告诉我:

 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. 

为了在Ubuntu 14.04(64位)上安装netbeans 8.1,我需要做什么?

系统状态

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/Linux 

输出java -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) 

2015年11月11日更新

我已经尝试过安装Java 9,但这也不起作用。


更新08-11-2015

作为一种解决方法,似乎完整的netbeans下载有效。 这种类型的netbeans安装只有一个下载选项,而不是x86的1和x64的1。 我想知道它是否与此相关或只是PHP版本有错误?

在此处输入图像描述

现在,我将把它留在那并使用完整版本,但我很想知道是否有一个真正的解决方案,我们这些只想要最小的PHP安装。

我有同样的问题(NetBeans 8.1,Debian 8.1)。

在/ etc / fstab中,我删除了/ tmp定义中的“ noexec ”参数,remount / tmp,现在它可以工作了。 ( 缺少执行权限 );)

您必须从其站点下载netbeans,这是一个tar文件。

  • 提取到您选择的文件夹。
  • 确保已安装JDK。
  • 打开终端并切换到包含文件netbeans.sh的目录。
  • 然后使用命令执行shell脚本文件:

    ./netbeans.sh

  • 这需要通过提升权限来完成。

然后会出现一个窗口,用于以GUIforms安装netbeans。

我有这个问题试图在我的计算机上为非root用户安装netbeans但是addin owner execute bit帮助。 使用的命令是这样的:

 chmod u+x netbeans-8.1-linux.sh 

在那之后,当我跑

 ./netbeans-8.1-linux.sh 

它工作,安装后运行没有任何问题..