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: | Not possible to any features compiled with Java 1.7 in components designed with GUI builder | ||
---|---|---|---|
Product: | guibuilder | Reporter: | jmsoft <jmsoft> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jmsoft
2013-06-03 08:28:28 UTC
If trying to instantiate a class compiled for Java 7 you also need to run the IDE on Java 7. I'd guess your IDE runs on Java 6. We miss a more comprehensive error message that would explain that. *** This bug has been marked as a duplicate of bug 154197 *** L.S., I have seen in the thread that this bug was changed to enhancement. Does this mean that the error message shown to the user will be changed to be clearer, or will GUI builder be changed to solve the problem reported? Kind regards, John Meertens There will be a clearer error message. There is no solution otherwise, Java VM can't load classes of higher version than it supports, so IDE running on Java 6 can't load classes that were compiled for Java 7. Thanks for your fast answer. I understand your answer (it was also to be seen in the exception). Sorry that I insist, but this is very important for me. I was just wondering: is it not possible to rebuild the GUI builder and everything that goes with it with Java 7? Kind regards, John Meertens To avoid this problem just run your NetBeans on Java 8. |