Hai Alison Lindores,
                    This is Raghuraman from Mumbai, India. Recd your
message. I will give you my path & class path as in autoexec.bat file. I
have installed jsdk2.0 in my PC. it is in the same drive as of jdk1.2. but
it is not a sub directory of jdk1.2.

i have given my classpath & path. take only the stuff associated with java &
use it in your autoexec file.

SET Path=C:\Orawin95\bin;"C:\PROGRAM
FILES\ORACLE\JRE\1.1.7\BIN";%PATH%;"C:\PROGRAM
FILES\MTS";C:\jdk1.2.1\bin;c:\windows\command;%PATH%;c:\weblogic\bin

set
classpath=%CLASSPATH%;c:\weblogic\classes;c:\weblogic\lib\weblogicaux.jar;c:
\jdk1.2.1\Raghu;c:\jsdk2.0\lib\;c:\jsdk2.0\src;c:\jsdk2.0\examples;

for your convenience,

SET Path=C:\jdk1.2.1\bin;
set
classpath=%CLASSPATH%;c:\jdk1.2.1\Raghu;c:\jsdk2.0\lib\;c:\jsdk2.0\src;c:\js
dk2.0\examples;

as you see in the class path, the last one ie, c:\jsdk2.0\examples;
is my working directory. from here i am using javac to compile servlet code.
&  c:\jdk1.2.1\Raghu; is my java working directory.


regarding your 2nd question, instead of using servletrunner try using java
web server 2.0 which is available at java web site for free download.
install it in your machine. use the javawebserver2.0\servlets directory to
have your class files.

to start the web server, go to the command prompt. change the directory to
javawebserver2.0\bin. type httpd (an exe) to start the web server. then
start any web browser like netscape or internet explorer or hot java. in the
address type http://localhost:8080
where localhost represents your machine (you can substitute with the name by
which your PC is identified in a LAN) & 8080 is the default port in which
the web server listens. try doing this first. let me try to send a mail
regarding administration & registering your servlet in the server later in
the day.

Hope by now you are clear on these accounts. keep in touch.

Thanks,

S. Raghuraman

Onward Technologies Limited,
Unit 152, SDF V,
Seepz,
Andheri (East),
Mumbai,
India.



----- Original Message -----
From: Alison Lindores <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 7:29 AM
Subject: Installing JSDK 2.1


> Hi,
>
> I am using servlets for the first time and I am having some trouble
> installing JSDK 2.1. I have a textbook on servlets that 'explains' how to
> install it but it does not seem to be working. I installed the JSDK under
> my JDK directory. I am using JDK 1.2 and I am running Windows 95. In my
> PATH statement is the following "C:\JDK1.2\BIN". In my CLASSPATH statement
> is the following "C:\RMFPRO~1; C:\JDK1.2\LIB\TOOLS.JAR;
> C:\JDK1.2\JSDK2\SERVLET.JAR". C:\RMFPRO~1 is the current location of my
> .java files. The textbook I have said to put the tools.jar and servlet.jar
> files there as well. Could someone please tell me what I have done
wrong??????
>
> Is it correct that when the JSDK is installed correctly, I use javac to
> compile the .java file and then move the .class file to the
> jsdk2.1\webpages\web-inf\servlets directory? Do I then change the
> servlet.properties file? If so, what do I add if my servlet does not use
> any initialisation parameters? Can I then run the servletrunner?
>
> Sorry, too many questions!!
>
> I would really appreciate any help that you can offer.
>
> Alison Lindores
> =============================================
> 3rd Year B Information Technology Student
> Central Queensland University, Mackay Campus
> Phone: (07) 4942 2627 or 0409 260 174
> Email: [EMAIL PROTECTED]
> =============================================
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to