This link will lead you to Java 7: http://www.oracle.com/technetwork/java/javase/downloads/index.html
You will require Java 7, so you can use Strings
in a switch statement.
When you create a new project in your IDE (the ide in the picture is eclispse) make sure you select a Java that ends with 1.7
or
Just make each string correspond to a int
value.