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.
Summary: | All JavaFX samples default to JDK 7 and WILL NOT RUN when IDE is on JDK 8 | ||
---|---|---|---|
Product: | javafx | Reporter: | Lou Dasaro <mr_lou_d> |
Component: | Project | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Output from RUNning sample program (Xylophone) |
Not reproducible with 8.1 RC on OSX. * started IDE on 7u51 * created sample project Xylophone, runs without problems * restarted IDE on 8u60 * the same project runs without problems In both runs of the sample project the JDK version NB is running on top of is used for the sample's execution. No specific JDK version is hardcoded in the project's settings. Am I missing something in your steps to reproduce? I can't replicate it anymore; previously occurred on both Win 8.1 and Ubuntu 14.04 using NB 8.1 RC. I suspect I may have been testing bug 255710 on both platforms and forgot to change the IDE's run platform back to JDK 8. Otherwise IDK. Verifying as invalid. If this anomaly reoccurs, please reopen with my apologies. |
Created attachment 156539 [details] Output from RUNning sample program (Xylophone) Currently in NB 8.1(RC), all JavaFX Sample programs default to JDK 7, and will NOT run when built on NB IDE running on a JDK 8 platform. Run listing attached. This will be very confusing for new users. Since JDK 7 is deprecated, I would suggest the sample programs should all be updated to default to JDK 8. Test environment: Product Version: NetBeans IDE 8.1 RC (Build 201510012201) Java: 1.8.0_66-ea; Java HotSpot(TM) Client VM 25.66-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-ea-b02 System: Windows 8.1 version 6.3 running on x86; Cp1252; en_US (nb)