The following Java-related SAMPLE Knowledge Base (KB) Articles are included in the Microsoft SDK for Java.
Q161706: SAMPLE: GCDJava.exe Integrates Native Methods in a Java App
Q169802: SAMPLE: Jword8.exe Demonstrates Automating Word 8.0 from Java
Q177162: FILE: JWindow Demonstrates How to call Win32 APIs from Java
Q231294: SAMPLE: SmartGC Uses an ATL Server to Trigger Java GC