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 255310

Summary: Resolve missing JDK should allow to select an existing one
Product: java Reporter: cezariusz <cezariusz>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: cezariusz
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8.1   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=254731
Issue Type: DEFECT Exception Reporter:
Attachments: Resolve project problems
Resolve button shows this - no option to select an existing platform
What should be offered as a resolve option
Screenshot

Description cezariusz 2015-09-15 21:10:53 UTC
Product Version: NetBeans IDE Dev (Build 201508020002)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Windows 8 version 6.2 running on amd64; UTF-8; pl_PL (nb)

Problem: The project uses the Java Platform called "JDK_1.6", but this platform was not found.
Solution: Click Resolve and create new platform called "JDK_1.6".

There should be another solution to change project properties and select one of the existing Java platforms.
Comment 1 cezariusz 2015-09-15 21:12:21 UTC
Created attachment 156196 [details]
Resolve project problems
Comment 2 cezariusz 2015-09-15 21:13:53 UTC
Created attachment 156197 [details]
Resolve button shows this - no option to select an existing platform
Comment 3 cezariusz 2015-09-15 21:16:06 UTC
Created attachment 156198 [details]
What should be offered as a resolve option
Comment 4 Tomas Zezula 2016-06-13 10:54:22 UTC
Fixed jet-main cda94ba88970.
Added a special resolver with a dialog shown on screenshot.
Comment 5 Tomas Zezula 2016-06-13 10:55:31 UTC
Created attachment 160036 [details]
Screenshot