Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.
This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use. - jaywcjlove/awesome-mac ...