I wanted to use a String in a switch statement but I read that this feature was available from version java SE 7. I've downloaded it, when I type "java -version" in a console I read:
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)
In my Eclipse project, I've modified the "JRE System Library" properties to "JavaSE'1.7".
After all this when I use a string on a switch statement I get an error: Cannot switch on a value of type string.
Any clue of what I'm missing?
Thanks!
