This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I think Dash-O does what you want (haven't ever used it though). There are probably others as well. You might ask in J2ME forums, since people doing J2ME are the most likely to have worried about reducing library size.