javahidapi, wrapped as a gem