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: | package javax.net.ssl doesn't exist | ||
---|---|---|---|
Product: | apisupport | Reporter: | Samaresh Panda <samaresh> |
Component: | Project | Assignee: | rmichalsky <rmichalsky> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jglick, PatrickDickey_52761 |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | package javax.net.ssl not found. |
Description
Samaresh Panda
2008-12-18 15:48:18 UTC
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.).; |