DPU's JAR path shortened if neccessary. Closes #1008.