On some machines the locale is not set up. You'll need to tell Java what charset filenames are encoded with by setting the environment variable LANG. If you get an InvalidPathException about unmappable characters then it could very well be because LANG is not set up correctly.
Code: Select all
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"