Replies: 3 comments 3 replies
-
Please provide a minimal sample of a project, that reproduces the problem. |
Beta Was this translation helpful? Give feedback.
-
This sample can't reproduce your problem: It is important to create a full sample project and show that. In that case minimal also means, that Create a minimal project, that shows your problem, use "File -> Export ZIP" and attach zip here. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. I've removed unnecessary files, and the project now includes only the components necessary to reproduce the problem. I've attached the ZIP file to this response. Please let me know if there's anything else you need, and thank you for your assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello NetBeans Community,
I hope this message finds you well. I am currently facing a unique issue with my NetBeans IDE and JDK installation, and I'm seeking assistance from the community.
Problem:
I have recently installed JDK 17.0.1, and I am experiencing difficulties with NetBeans recognizing the javax.swing.table and java.sql packages. Upon investigating the JDK installation, I noticed an unusual file named modules in the lib directory instead of the expected modules folder (at least I've been told it should be a folder, not a file). When I create a class that has a Superclass AbstractTableModel, I can't generate a constructor, and when I use methods from java.sql classes, the import suggestions don't suggest java.sql classes.
Steps Taken:
Reinstalled JDK 17.0.1 with the complete installation package.
Verified the presence of the modules file in the lib directory, which appears to be a binary file.
Set the JAVA_HOME environment variable to the correct JDK path.
Updated NetBeans configuration to use JDK 17.0.1 in "Tools" -> "Java Platforms."
Performed a clean and build operation on the NetBeans project.
Restarted NetBeans after making changes.
Despite these efforts, the issue persists, and NetBeans is not recognizing the javax.swing.table and java.sql packages.
System Information:
Operating System: Windows 11 x64
NetBeans Version: 14
JDK Version: 17.0.1
Additional Notes:
I have already sought assistance from various forums and reinstalled NetBeans multiple times without success.
The community is kindly requested to provide insights, suggestions, or solutions to resolve this issue.
Any help or guidance you can provide would be greatly appreciated. Thank you for your time and assistance.
Best regards,
PUNK3DAF
Beta Was this translation helpful? Give feedback.
All reactions