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

Summary: Failure to install netbeans 8.1 on Debian with sudo
Product: installer Reporter: josephwb
Component: DebianAssignee: issues@installer <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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)