Sample programs and java utils