On Mon, 2005-07-18 at 21:59 +0200, Ziga Mahkovec wrote:
On Mon, 2005-07-18 at 12:38 -0600, Chris Hubick wrote:
> Has this bug been fixed?
> "error accessing
dev.eclipse.org cvs repository using extssh"
>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146782
>
> I followed the instructions from Comment #2 there, and I haven't been
> able to get it to work for me:
>
> [hubick@cs14 ~]$ eclipse
> 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:/usr/share/eclipse/startup.jar,file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>
> [...]
It seems that the default extensions directory has been moved
to /usr/share/java/ext (as opposed to java-ext). You could try the
following:
$ sudo ln -s /usr/share/java-ext/bouncycastle-jdk1.4/bcprov.jar \
/usr/share/java/ext/bcprov.jar
There was no /usr/share/java/ext/, so I created it as a link
to /usr/share/java-ext/. Will this break anything?
Anyhow, after doing that, now I get:
[hubick@cs14 ~]$ eclipse
Exception in thread "main" java.lang.NoSuchFieldError: field
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_RSAES_OAEP was not found.
at org.bouncycastle.jce.provider.BouncyCastleProvider.BouncyCastleProvider() (Unknown
Source)
at java.lang.Class.newInstance() (/usr/lib/libgcj.so.6.0.0)
at java.security.Security.loadProviders(java.lang.String, java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.security.Security.<clinit>() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.security.Security.getProviders() (/usr/lib/libgcj.so.6.0.0)
at java.security.MessageDigest.getInstance(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.VMCompiler.<clinit>() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.lang.VMCompiler.compileClass(java.lang.ClassLoader, java.lang.String, byte[],
int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0) at
java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int,
int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int,
java.security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int,
java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
(/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
:(
--
Chris Hubick
mailto:chris@hubick.com
http://www.hubick.com/