demo on how to create gems with java extensions