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.
I have a class that uses classes from javax.net.ssl package. This is available in JDK since 1.4. However, Java editor complains and says "package javax.net.ssl doesn't exist". Fix import doesn't work as well. Interestingly enough it works inside a java project (and perhaps in other projects), but NOT in Netbeans module projects. You can see this issue in xml.retriever module. This module will always have a red-error-badge and the error is in class SecureURLResourceRetriever.java. See attached picture.
Created attachment 75139 [details] package javax.net.ssl not found.
To reproduce: have a JDK specified in user.build.properties, or $HOME/.nbbuild.properties, but do not have the platform registered for it in the NetBeans. Open the project (xml.retriever). The cause is this: javax.net.ssl is not in rt.jar, but in jsse.jar. And jsse.jar is not on the bootclasspath in the above scenario. If the given JDK is registered as a Java platform, jsse.jar is on the bootclasspath, and everything seems to work fine.
fixed in core-main #03187fb247f9
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/03187fb247f9 User: Richard Michalsky <rmichalsky@netbeans.org> Log: #155767: fixed boot cp for non-registered Java platforms
I'm currently running Netbeans 6.9.1 on Ubuntu 10.10, with everything created using the default installer for Linux (I chose all of the default settings). However, I'm still getting this error (and in fact, all javax libraries give me javax. not found). Are there any special steps which need to be done to get this working? I'm using the openjdk-6 libraries, and have added the jsse.jar to both my project and Netbeans libraries manually. Have a great day:) Patrick. Any additional information will be provided on request
Your problem may be completely unrelated to this issue. Best to file a separate bug report (in the 'ide' component) with complete steps to reproduce from scratch; I am not even sure from your description what kind of project you are working on (Java SE, EE, NB module, Maven, etc.).;