File.pathSeparator is better than ":".
Java programs are best run with a java command.