Greg Charles wrote:Sometimes Windows will have a version of Java in the System32/bin and if you're not careful setting up your PATH variable, that's the one that will get used.
Greg Charles wrote:Also, I think you can avoid a second comparator, and even a second sort. I'm thinking once the files are sorted you won't have to worry about name collisions like you did when they were shuffled, so you don't even have to go through the step of renaming them with the "a_". Rob, what do you think? That's safe, right?
Greg Charles wrote:
That last line is a bit weird, and I don't really like the syntax of it.