A couple people had problems with the stock jAPI loader. Here's a pure vanilla implementation I snarfed off the web with source.
Ripped from http://www.codeproject.com/threads/winspy.asp
Hopefully source for the meat and potatoes of jAPI.dll is coming soon.
Also fixed a serious bug with stack handling-the natives needed another argument on the end.