Re: Re: aot-compile-rpm and bouncycastle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jerry James wrote:
> On Tue, Jul 7, 2009 at 1:23 PM, Jerry James<loganjerry@xxxxxxxxx> wrote:
>> When I build an RPM for a Java application on F-11, the
>> aot-compile-rpm step is issuing some warnings I don't understand.
>> They look like this:
>>
>> WARNING: Error loading security provider
>> org.bouncycastle.jce.provider.BouncyCastleProvider:
>> java.lang.ClassNotFoundException:
>> org.bouncycastle.jce.provider.BouncyCastleProvider not found in
>> gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
>> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>>
>> The application in question does not use bouncycastle, directly or
>> indirectly.  On the other hand, I do have bouncycastle installed.  Is
>> something misconfigured?  Should bouncycastle be a BuildRequires for
>> gcj-using RPMs?
> 
> Ah, I found the reference.  In
> /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/security/java.security is
> this line:
> 
> security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
> 
> That class does exist in /usr/share/java/bcprov.jar, but nothing is
> adding that jar to CLASSPATH if it exists.  How is this supposed to
> work?

I'll have a look.

Andrew.

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux