fix pure_java spec filename and export a pure_java example build.sh