As of JDK 1.2, you don't really need a classpath. I try not to use one at all if I can
help it.
If you're on a unix box, just put all the class and jar files in the following
directory:
/pathtojdk/jre/lib/ext/ where pathtojdk is the root path to the jdk.
If you're on a wind0ze box, put the files in:
x:\Program Files\JavaSoft\JRE\1.2\lib\ext\ where x:\ is the drive and path of your
Program Files directory.
I find this simplifies stupid and confusing classpath stuff nicely. I only set a
classpath if I want to get very specific about which libs I load.
>>> Pedro Palos <[EMAIL PROTECTED]> 06/21/00 12:17PM >>>
Hi,
I'm a beginner using servlets. I have a couple of question and I hope
someone could answer them. I have the JSDK2.1 running with JDK1.2.2. I
have a couple of examples that i want to compile and run!
Can I compile these .java files with jdk1.2.2?, do i need to set different
classpaths? Second, after I have the .java file compiled as a .class, where
do i need to put these files to run the servlet and from where(e.g. browser
or a DOS command) do I call these classes so i can run them.
thanks,
Pedro Palos
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
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