Monday, 18 June 2012

Java 7 classpath broken on Windows XP

Please file under "for F*cks sake!!!"

It seems that the ability to assign a wild card as a class path when setting up a Java comand-line script is broken for Java 1.7 and windows users (On XP certainly).

Previously you could type .... java -cp "somewhere/*"
WHICH would do the trick now you have to add a magic character to make it work.
SO the command becomes java -cp "somewhere/*;"

Just file under GRRRR!

Or see this handy post by someone far less annoyed than I am.
http://stackoverflow.com/questions/9195073/broken-wildcard-expansion-for-java7-commandline-on-windows7

No comments:

Post a Comment