add the gemspec java platform

Fixes #6