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.

Bug 42012 - JavaPlatform should use jre/lib/ext/*.jar
Summary: JavaPlatform should use jre/lib/ext/*.jar
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-04-15 09:38 UTC by Tomas Zezula
Modified: 2004-08-13 12:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2004-04-15 09:38:21 UTC
The JavaPlatform should return the files in the
jre/lib/ext folder either on the boot classpath or
as a new extension classpath.
Comment 1 Jesse Glick 2004-04-15 15:17:20 UTC
James, adding you to CC since you found this.

Visible effect of the bug: if you have some Java standard extension
(e.g.) in your extensions folder, you can compile against classes in
it without explicitly adding that JAR to your project classpath, but
the editor background parsing considers uses of these classes to be
errors. Presumably code completion also does not work on these
classes, etc.
Comment 2 jag 2004-04-15 17:36:46 UTC
The summary overspecifies the desired solution: jre/lib/ext/*.jar is a platform specific 
(Linux/Solaris) path.  It should also work for windows and OS X.  OS X is a little dicey 
because they have 3 places where extensions can be installed:
 ~/Library/Java/Extensions - private (per-user) extensions
 /Library/Java/Extensions - system-wide (all users) extensions for all JDK versions
 /System/Library/Java/Extensions - a second place for system-wide extensions for all 
The intent seems to be that Apple puts extensions in /System/..., system administrators 
use /Library/..., and users use ~/Library/...
Comment 3 Tomas Zezula 2004-04-15 17:56:52 UTC
It will use the jvm java.ext.dirs property. I hope that this property
contains paths to all these directories.
Comment 4 Tomas Zezula 2004-05-05 14:38:22 UTC
Comment 5 Jesse Glick 2004-05-05 19:04:03 UTC
BTW next time please paste the cvs commit output into the bug report
for the record.