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 246069

Summary: Unable to load demo projects in jdk-8u11-windows-x64-demos.zip
Product: projects Reporter: jb2014
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description jb2014 2014-07-28 16:51:20 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03

Unable to load demo projects in jdk-8u11-windows-x64-demos.zip.

Starting with no projects in the projects pane, "[Main menu]File->Open Project->jdk1.8.0_11->demos" without the "Open required projects" option checked gives an empty node called "JDK Demos" in the "Projects" pane.

With the "Open required projects" option checked, it gives the empty node "JDK Demos" plus unusable project nodes containing *.txt and *.html files, e.g. Java2D, in the "Projects" pane.

Also, the instructions in "jdk1.8.0_11\demo\nbproject\README.txt" are not applicable to this IDE. For example, they mentions the "Open Project Folder" button, which does not exist in NetBeans 8.0 (or 7.4).
Comment 1 Tomas Stupka 2015-06-05 12:47:41 UTC
the format of the demo zip changed, but the contents of the nbproject folders were not adjusted
this has to be handled on the side of jdk. A bug was already filed - see also https://bugs.openjdk.java.net/browse/JDK-8014770

to workaround your problem:
- you have to manually unzip the src.zip files in the particular projects/folder
- change the nbjdk.home var in build.properties to point to your jdk home