Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PBEWithMD5AndDES NoSuchAlgorithmException -Eclipse Config



>If your Eclipse configuration, or the environment it sets up for the
>PBETrial app, is different from everyone else's Eclipse configuration,
then
>it's going to be difficult for anyone to replicate your problem.  That's
>why I suggested printing all the properties in PBETrial itself, not just
in
>another app.  I saw nothing wrong with the other app's properties, but
it's
>another app, not the one that's actually failing, so it may not be
>completely identical.

The output of the System properties matched except that there were the
following extra lines added in
java.ext.dirs= in the one that didn't work.

/Library/Java/Extensions/ldap.jar:
/Library/Java/Extensions/msbase.jar:
/Library/Java/Extensions/mssqlserver.jar:
/Library/Java/Extensions/msutil.jar:
/Library/Java/Extensions/mysql-connector-java-3.0.11-stable-bin.jar:
/Library/Java/Extensions/OpenBaseJDBC.jar:
/Library/Java/Extensions/utilities.jar:
/System/Library/Java/Extensions/CoreAudio.jar:
/System/Library/Java/Extensions/MRJToolkit.jar:
/System/Library/Java/Extensions/QTJava.zip:
/System/Library/Java/Extensions/QTJSupport.jar:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/apple_provider.jar:

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/ldapsec.jar:

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/localedata.jar:

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/sunjce_provider.jar,


I was able to fix the problem by doing the following;
In the Eclipse Preferences in the Java section in the Installed JREs
section I removed the 1.4.2 JRE and then added it back in. In the process
Eclipse searched through the folder I selected.
I may have been able to just selected the JRE and searched it an ended up
with the same result. All of the extra lines above disappeared and my
error have gone away.

Greg, thanks for keeping me on track in finding this problem and for
providing the code I needed to test for errors.

George Adams






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.