I stumbled over (jdk1.1.5): In file included from /opt/local/java/jdk/include/oobj.h:33, from /opt/local/java/jdk/include/StubPreamble.h:34 /opt/local/java/jdk/include/typedefs.h:26: typedefs_md.h: No such file or directory I was under the impression that javah -stubs is not needed in the JDK 1.1.x JDK, and that a publicly visible StubPreamble.h (which is in 1.1.6, too) is thusly a leftover. It does not seem to be used in any publicly visible (JDK distribution) header. b.