Unix specific functions for Java