add the gemspec java platform

Fixes #3