首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装Netbeans 8.1

无法安装Netbeans 8.1
EN

Ask Ubuntu用户
提问于 2015-11-05 07:50:32
回答 3查看 9.7K关注 0票数 2

我正在运行Ubuntu14.04桌面的64位版本,当我运行netbeans安装程序 (PHP )时,会收到以下错误消息:

代码语言:javascript
复制
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时,它告诉我:

代码语言:javascript
复制
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. 

当我试着跑

代码语言:javascript
复制
sudo apt-get install ia32-libs

我知道错误:

代码语言:javascript
复制
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

所以我跑了

代码语言:javascript
复制
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

..。然后执行安装程序并获得相同的该死错误消息:

代码语言:javascript
复制
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.

我需要做什么才能在Ubuntu14.04 (64位)上安装NetBeans8.1?

系统状态

uname -a的输出:

代码语言:javascript
复制
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的输出

代码语言:javascript
复制
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)

更新07-11-2015年

自那以后,我尝试了安装Java 9,但这也不起作用。

更新08-11-2015年

作为一种解决办法,netbeans下载全文似乎可以工作。这种类型的netbeans安装只有一个下载选项,而对于x86和x64只有一个下载选项。我想知道它是否与此相关,还是仅仅PHP版本有一个bug?

现在,我将保留它,使用完整的版本,但我很想看看是否有一个实际的解决方案,我们中的人,谁只是想要最低限度的PHP安装。

EN

回答 3

Ask Ubuntu用户

回答已采纳

发布于 2015-11-10 15:36:20

我也有同样的问题(NetBeans 8.1,Debian8.1)。

在/etc/fstab中,我删除了/tmp定义中的"noexec“参数,重新装入了/tmp,现在它工作了。(缺少执行许可) ;)

票数 2
EN

Ask Ubuntu用户

发布于 2015-11-07 08:16:24

您一定是从他们的站点下载了netbeans,这是一个tar文件。

  • 解压缩到您选择的文件夹。
  • 确保安装了JDK。
  • 打开终端并切换到包含文件netbeans.sh的目录。
  • 然后使用命令执行shell脚本文件:./netbeans.sh
  • 这需要使用提升的权限来完成。

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

票数 0
EN

Ask Ubuntu用户

发布于 2016-04-01 08:34:09

我试图在我的计算机上为一个非根用户安装netbeans时遇到了这个问题,但是外接程序所有者执行bit帮助了。使用的命令如下:

代码语言:javascript
复制
chmod u+x netbeans-8.1-linux.sh

在那之后,当我跑

代码语言:javascript
复制
./netbeans-8.1-linux.sh

它起了作用,安装在那之后没有任何问题。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/694188

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档