I'm getting a nosuchalgorithmexception when I try to run a program with PBEWithMD5andDES. This is the line thats causing the problem.
SecretKeyFactory skf = SecretKeyFactory.getInstance(algorithm);
algorithm is a string="PBEWithMD5AndDes"
My classpath is set ok because when I use other programs implementing DES they are ok.