Remove temporary files ".stubs" in the Java SDK.
[#2] Move the sizeof statement for avoiding the warning.