Fast forward to Java SE 7, you can now use Strings inside a switch statement. Unlike previous versions, putting Strings on a switch would produce an error but on Java 7, finally a switch comparator is enabled. Much more flexibility now.
For those running Tomcat 5.5 on a JDK 1.4, there will be compatibility issues. Testing it on Eclipse, the error would appear as such.
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.
This [...]
Setting up your Java environment to work on is as easy as how it seems to be. With Sun now offering executable JDK program, nothing much needs to be done.
As of date, current JDK is the JDK 6.0 kit which was said to be powerful that the previous versions beforehand. [...]