Why not just use `File.join(endpoint, 'jnlpJars', 'slave.jar')`?