Bug#816758: netbeans: Warning during "Turning on modules..." when using openjdk-7

2016-03-04 Thread Markus Koschany
Am 04.03.2016 um 23:15 schrieb Kevin Carney:
> 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

Hi,

thanks for the report. We aim to release Netbeans and OpenJDK 8 as the
default environment for Stretch. So don't expect a solution for OpenJDK
7 because it will be most likely removed from Debian before the next
freeze. I don't know why OpenJDK 7 got installed on your system because
the default is OpenJDK 8 now, but I don't think we should invest a lot
of time debugging this issue because OpenJDK 7 won't be supported for
Stretch anyway. Sorry for the inconvenience, but please switch to
OpenJDK 8 at your earliest convenience.

Regards,

Markus




signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#816758: netbeans: Warning during "Turning on modules..." when using openjdk-7

2016-03-04 Thread Kevin Carney
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-java8.1+dfsg1-2

netbeans suggests no packages.

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.