« Return to Thread: JRE classes services from netbeans modules (NB6.1)

RE: Re: JRE classes services from netbeans modules (NB6.1)

by pblemel :: Rate this Message:

Reply to Author | View in Thread


Hi,

It's not clear what this means to me.   Is there a way to configure the module such that it is seen by the system class loader without resorting to adding it to the class path?  

Thanks
Peter
----------------------------------------

> To: dev@...
> From: jesse.glick@...
> Date: Mon, 12 May 2008 19:18:03 -0700
> Subject: [openide-dev]  Re: JRE classes services from netbeans modules (NB6.1)
>
> Peter Blemel wrote:
>> I have a jar that provides services for javax.sound (via
>> META-INF/services). A little example main program (not in the jar
>> file) invokes javax.sound classes that use the services.   Compiling
>> the example with javac and running java from the command line works
>> great.  The javax.sound classes use the services from the jar file.
>>
>> I created a wrapper module for the jar and put an action in a module
>> to invoke the example.   It compiles just fine, but when it runs the
>> javax.sound classes do not find / use the services from the wrapped
>> jar file.
>
> Perhaps the JavaSound impl looks for services only in the system class
> loader.
>

_________________________________________________________________
Windows Live SkyDrive lets you share files with faraway friends.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008

 « Return to Thread: JRE classes services from netbeans modules (NB6.1)

LightInTheBox - Buy quality products at wholesale price