You
need to install the J2EE JDK 1.2.1 from the java.sun.com website. Since
you are using javac to compile your classes, the j2ee.jar file needs to be in
your classpath.
here's
the URL: http://java.sun.com/j2ee/download.html
Hope
this helps...
Regards,
Tom
Pridham
-----Original Message-----
From: Roland Dong [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 4:18 AM
To: Orion-Interest
Subject: Why javac does not compile servlet?I have successfully installed orion1.45. It runs great! What I can not figure out is how to make javac compile a servlet. I have put tool.jar into orion directory and my autoexec.bat look like this:SET BLASTER=A220 I7 D1 T2SET SNDSCAPE=C:\WINDOWSset JAVA_HOME=c:\jdkset TOMCAT_HOME=C:\tomcat\set PATH=c:\jdk\binPATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ORAWIN95\BIN;c:\jdk\binset CLASSPATH=c:\jdk\lib\tools.jar;When I compile a simple servlet I got error message. This is the error message when I try tojavac HelloWorldServelt2.java:
C:\Web\jsp\jspRoland\WEB-INF\classes>javac HelloWorldServlet2.java
HelloWorldServlet2.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorldServlet2.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^etc.
......................7 errorsC:\Web\jsp\jspRoland\WEB-INF\classes>Could someone throw me some light?Thanks very very muchRoland
