Updated for relative path
Java Client Source code