programmatic_gemtool_java_example