add the gemspec java platform

Fixes #17