Looking at your command line for the compiler; did you really name
the JSDK directory 'jsdk2' ?  On my system I have it installed as
JSDK2.0 (uppercase, with '.0' appended).

Regards, Mark

> -----Original Message-----
> From: Pradip Kumar Pandey
> Sent: Friday, 7 May 1999 15:04
> To:   [EMAIL PROTECTED]
> Subject:      Re: Newbie - Please help (still struggling)
>
> On Windows-NT I do the following for setting classpath.
>
> c:\set CLASSPATH=%CLASSPATH%;C:\JSDK2.0\LIB\;
>
> You can do the same thing on a Linux shell.
> Something like this.
>
> prompt>$CLASSPATH=$CLASSPATH;/PATH/TO/JSDK2.0/LIB;
> This will set the classpath in that shell, and you need not have to
> include the
> -classpath for compiling your java souurce codes.
>
> pradip
>
> Gaurav Kishore wrote:
>
> > Hello,
> > I am using Apache JServ on Linux and
> > I am trying to compile a servlet (a simple HelloWorldServlet) using
> the
> > following command -
> >
> > javac -classpath /path/to/jsdk2/lib/jsdk.jar  HelloWorldServlet.java
> >
> > I am getting the error - "java/lang/Object.class not found" and
> couple
> > of more errors.
> > What does it mean and what is the solution?
> >
> > Also, how do I setup classpath, so that I don't have to type it
> > everytime I compile a servlet.
> >
> > Kindly help.
> > Thanks in advance.
> > Gaurav
> >
> >
> ______________________________________________________________________
> _____
> > 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
>
>  << File: Card for Pradip Kumar  Pandey >>

___________________________________________________________________________
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