I installed latest version of j2ee
(file:j2eesdk-1_4_01_2005Q1-windows.exe), and then Tomcat 5.5.7.
When I run startup.bat in Tomcat I get this error:
"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."
Can I use j2ee with Tomcat or do I have to un-install j2ee and install j2se? or what is the problem?
Also, another issue: when I try to compile a servlet by typing at the command: javac myservlet.java
I get errors about unresolved symbols (HttpServlet class).
I made variable:JAVA_HOME to be: C:\sun\appserver\jdk, so what jar files am I missing?
My path is: C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin
My CLASSPATH is: .;C:\Program Files\Apache Software Foundation\Tomcat 5.5\server
I am using Winxp.
I am new to java and this is my first experience.
Thanks for any help.