Yep, the "D" package is SOIC (Small Outline Package)

You would want the "N" package for DIP. According to the TI data sheet, the "J" package is obsolete.

Don't feel bad, You ain't the first one to order parts in the "wrong" package.
I've got a few 16F727's sitting here that I meant to order in a nice compact 44-tqfp package and instead I ended up with these HUGE 40 pin DIP's. Cripes, they're bigger than the whole circuit board they're supposed to go on!



steve