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.
[prj-proto-200212021243] "Fatal Error: Unable to locate package java.lang in classpath or bootclasspath" is thrown when user tries to create new java source file in java project. Steps: 1) Create new java project 2) Create package under Source node 3) Create new java source file under that package Exception is thrown and nothing can be created. Happens only on windows!
Created attachment 8128 [details] Error stack trace
Windows - only bug: FileUtil.fromFile() returns an empty array of FileObjects for (existing) %JAVA_HOME%\jre\lib\rt.jar
*** Issue 29205 has been marked as a duplicate of this issue. ***
Fixed in trunk. /cvs/core/localfs/src/org/netbeans/modules/localfs/HostFileObject.java,v <-- HostFileObject.java new revision: 1.9; previous revision: 1.8
Verified in prj-proto-200212021603.