Package: netbeans
Version: 8.1+dfsg2-1
Severity: normal

Dear Maintainer,

When starting netbeans, the startup splashscreen stops during "Turning on 
modules..." and a warning window is displays:

Window Title: NetBeans IDE - Warning
Text: "org.netbeans.InvalidException: StandardModule:org.netbeans.modules.db 
jarFile: /usr/share/netbeans/8.1/ide/modules/org-netbeans-modules-db.jar: 
java.lang.UnsupportedClassVersionError: org/netbeans/lib/ddl/DBConnection: 
Unsupported major.minor version 52.0"

Warning gives two options: "Exit" and "Disable Modules and Continue"

"Exit" does the obvious thing.

"Disable Modules and Continue" allows the startup process to finish.  
Subsequent startups do not show the warning (presumably because netbeans saves 
the "Disable Modules" option).

This is occuring on a fresh installation of netbeans running on a fresh 
installation of Debian/testing.

It appears to be an issue with openjdk-7, which was pulled in as a dependency 
while installing netbeans.  I subsequently tested by installing openjdk-8, and 
the problem did not occur.

To reproduce:
1. Delete my ~/.netbeans directory,
2. Switched default java to openjdk-7 with: "sudo update-java-alternatives -s 
java-1.7.0-openjdk-amd64"
3. Start netbeans


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netbeans depends on:
ii  default-jdk [java7-sdk]  2:1.7-52.1
ii  libnb-apisupport3-java   8.1+dfsg2-1
ii  libnb-ide14-java         8.1+dfsg2-1
ii  libnb-java5-java         8.1+dfsg2-1
ii  libnb-platform18-java    8.1+dfsg1-2

netbeans suggests no packages.

-- no debconf information

Reply via email to