I'm using Tomcat 5.5.12 with Windows XP Professional v. 5.1.
I am using JDK 1.5.0_06 and that's been working fine for all my Java applications for 6 months or so.
Whenever I use JDK 1.5 code in a JSP page, I get a compilation error (e.g., for printf or Scanner). My JSP pages work fine if I use JDK 1.4 code (if I use BufferedReader instead of Scanner for reading from a file, it works fine).
I removed my old JDK 1.4 directories from my hard drive and I've verified that they're removed by looking at the directory structure in Windows Explorer.
I've looked on the Internet for compatibility issues and haven't found any. Here's a site that explains how to use Tomcat 5.x with JDK 5.0:
My system variables point to the jdk1.5 directory, and the system variables do not point to a jdk1.4 directory.
How can I get my JSP pages to work with jdk1.5.x code?
Aside: I'm new to experts exchange:
1. How do I receive answers?
2. How many points am I allowed overall for my one-month subscription?