changed java package, and fixed c header