How to generate a CBC MAC

Hi can any one help me how to generate CBC DES Mac in SunJCE provider.
[77 byte] By [buddy_boya] at [2007-11-27 8:22:54]
# 1
Perform DES with CBC and PKCS5 padding and throw away all but the last 16 bytes. It is normal to use and IV of all zeros.
sabre150a at 2007-7-12 20:11:43 > top of Java-index,Security,Cryptography...
# 2
Why did I bother?
sabre150a at 2007-7-12 20:11:43 > top of Java-index,Security,Cryptography...
# 3
Hard to say. At a certain point I think we should charge real dollars ...
ejpa at 2007-7-12 20:11:43 > top of Java-index,Security,Cryptography...