Why do I get "Note: sun.tools.javac.Main has been deprecated" when compiling my JSP?

drit .

The exception that states that sun.tools.javac.Main has been deprecated is not an exception but only a warning. You must be using JDK 1.4. To remove the warning, revert back to JDK 1.3.

[ Why it's been deprecated: Sun has stated that the normal javac compiler entry point sun.tools.javac.Main will cease to work sometime soon. Hopefully by then there will be a solution -- some Apache folks are working on a common compiler wrapper project, that will work using many JDKs and also other compilers like Jikes. - Alex Chaffee ]