This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256501 - Failure to install netbeans 8.1 on Debian with sudo
Summary: Failure to install netbeans 8.1 on Debian with sudo
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Debian (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-10 17:04 UTC by josephwb
Modified: 2015-11-10 17:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description josephwb 2015-11-10 17:04:38 UTC
I am trying to install Netbeans v8.1 on Debian. Things work fine if I install things in my home directory, but if I want to install deeper in my system (i.e. anywhere outside my home directory) I get the following error:

sudo ./netbeans-8.1-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
No protocol specified

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"

I note that when grabbing the OS-independent zip I can place it wherever I like and it works as expected.

Here is my system information:

OS:
cat /etc/issue
Debian GNU/Linux 8 \n \l
cat /etc/debian_version
8.2

Java: I've tried this separately with both oracle and openjdk

java -version
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 -version
openjdk version "1.8.0_66-internal"
OpenJDK Runtime Environment (build 1.8.0_66-internal-b17)
OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)