maurice munoz wrote:

> Thanks
> Quick question, Yesterday I figured it out how to compile it, run it, view
> it, etc on win95 @ my job
>
> But now @ home I just bought a new workstation NT4.0(x86), now i am having
> trouble:
>
> I downloaded sdk2.0(formally jdk1.2.1) I can't figure how to set the
> classpath etc, so I can do a simple "[anydirectory] javac noname.java
> Its compiles successfully when I just enter the following, d:\jdk1.2.1\bin\
> javac noname.java but it gives an error becuase it can not locate the
> servlet class files, which I downloaded jsdk2.1, it only does an applet
> compile.
> Do you know how to set the classpath to read jdk1.2.1 classes and jsdk
> classes permanently or maybe I am missing something since revisions have
> been made from jdk1.2.

With version JDK 1.2.*, you do not need to include classes.zip in the
classpath. It is available automatically. So also the JFC/Swing classes. For
other classes,

Option 1
---------
SET  CLASSPATH =c:\jsdk2.1\servlet.jar

Option 2
---------

Drop the servlet.jar in \jdk1.2\jre\lib\ext\

JVM uses the jar files in the above directory as a CLASSPATH

Assumption is that you have used the default installation path. You need to
change them appropriately if you have used a different installation path..
___________________________________________________________________________
S.Ramaswamy
Matrix Infotech Syndicate
D-7, Poorti, Vikaspuri, New Delhi, 110018, India
PHONE: +91-11-5610050,   FAX: +91-11-5535103
WEB  :   http://MatrixInfotech.HyperMart.Net

___________________________________________________________________________
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