Maybe this is a silly suggestion, but couldn't you just compile the necessary classes yourself? Sun made most of java open source, the (almost) complete source code can be found
here (it seems some stuff from the graphics classes - mainly Java2D stuff - is missing because of some copyright issues). For example
here is the AWT source.