Test the underlying OS via java