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



>>I ran the same exact code from within Eclipse 3.0.2 and got the error
>>again. Looks like an Eclipse or Eclipse configuration error.
>>...
>><classpathentry kind\="lib"
>>path\="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/
>>sunjce_provider.jar"/>

>What happens if you don't list sunjce_provider.jar as a classpathentry?

>The sunjce_provider.jar should already be present for the app as an
>extension jar, since it's located in a valid extensions directory, and
>"java.ext.dirs" does list that directory.

>I wonder if something is breaking because of class-resolution clashes 
that
>might occur when you seem to be overriding the security classes (which
>should be loaded by the extensions class-loader) with same-named classes
>provided in the classpath (the application class-loader).  I'm not sure
>exactly what that could be, but if there's anything I'd expect to be
>sensitive to its classloader relationships, it'd be security classes and
>their implementations.

>  -- GG
Greg, Thanks for sticking with me on this one so far.
I changed the name on the thread a bit to see if any of the Eclipse users 
out there could help.

The 
path\="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext/sunjce_provider.jar"/>
is something that Eclipse is adding I did not add sunjce_provider.jar to 
the class path as an external .jar. In fact Eclipse won't let me add it 
unless I make a copy of it elsewhere and then include it. That didn't work 
either.

I did export a Mac Bundle out of your code and that does run and give the 
expected results even though running from within Eclipse with the same run 
configuration doesn't work.

Can anyone who uses Eclipse point me to the appropriate Eclipse list to 
post this problem?


George Adams
Educational Technology / Integration Services
651 603-4891
 _______________________________________________
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.