AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 694188
Accepted
Programster
Programster
Asked: 2015-11-05 23:50:32 +0800 CST2015-11-05 23:50:32 +0800 CST 2015-11-05 23:50:32 +0800 CST

无法安装 Netbeans 8.1

  • 772

我正在运行 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.

当我查看 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.

我需要做什么才能在 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 年 7 月 11 日更新

我已经尝试安装 Java 9,但也没有用。


2015 年 8 月 11 日更新

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

在此处输入图像描述

现在,我将保留它并使用完整版本,但我很想知道是否有适合我们这些只需要最小化 PHP 安装的人的实际解决方案。

14.04
  • 3 3 个回答
  • 9517 Views

3 个回答

  • Voted
  1. Best Answer
    Michal M.
    2015-11-11T07:36:20+08:002015-11-11T07:36:20+08:00

    我遇到了同样的问题(NetBeans 8.1、Debian 8.1)。

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

    • 2
  2. Manish Sakpal
    2015-11-08T00:16:24+08:002015-11-08T00:16:24+08:00

    您必须从他们的站点下载 netbeans,它是一个 tar 文件。

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

      ./netbeans.sh

    • 这需要使用提升的权限来完成。

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

    • 0
  3. geneowak
    2016-04-02T00:34:09+08:002016-04-02T00:34:09+08:00

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

    chmod u+x netbeans-8.1-linux.sh
    

    之后,当我跑步时

    ./netbeans-8.1-linux.sh
    

    成功了,之后安装运行没有任何问题..

    • 0

相关问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve