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: | com.sun.tools.javac.code.Symbol$CompletionFailure: Fatal Error: Unable to find package java.lang in classpath or bootclasspath | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mentlicher |
Priority: | P3 | Keywords: | JDK_9 |
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 217687 |
Attachments: |
stacktrace
Required project dump file. stacktrace |
Description
Jiri Kovalsky
2015-06-02 11:35:18 UTC
Created attachment 154011 [details]
stacktrace
Created attachment 154013 [details]
Required project dump file.
Most probably another JDK 9 specific issue as this does not happen when IDE is run on JDK 1.8.0_45. Please remove the keyword if my assumption is wrong. Created attachment 154027 [details]
stacktrace
Opened an existing Java project using JDK 8 platform in NetBeans running on JDK 9. JDK 8 platform is not defined and Resolve Project Problems is correctly available. But this exception should not be thrown.
Fixed in jet-main jdk9. http://hg.netbeans.org/main/nb-javac-jdk9/rev/a00a59e3f01b |