tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shanmugham" <cr...@hathway.com>
Subject Re: Very basic problem
Date Wed, 02 Jan 2002 18:52:11 GMT

Hi,

Please setup the following:

Environment Variable Name:

CLASSPATH =
.;E:\jdk1.2.2\lib\dt.jar;E:\jdk1.2.2\lib\tools.jar;E:\jdk1.2.2\jre\lib\rt.ja
r;
PATH = .;E:\jdk1.2.2\bin;

You seem to have set the classpath wrongly and you haven't mentioned
anything about the path...

The above should help you...

Regards.

> ----- Original Message -----
> From: "Jack Li" <JLi@MurraysDiscount.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, January 02, 2002 8:55 PM
> Subject: Very basic problem
>
>
> > Hello All,
> > I have a very basic problem. I try to an java application under DOS
> (Windows
> > operating system is windows 2000 server). I got error:
> >
> > java.lang.NoClassDefFoundError: test.
> >
> > The application is a sample from text book, very simple:
> >
> > class test {
> >   public static void main(String args[]) {
> >     System.out.println("Hello, World!");
> >   }
> >
> > }
> >
> > I run it by "java test". I installed jdk1.3, and setup the CLASSPATH
point
> > to d:\jdk1.3;d:\jdk1.3\bin;
> >
> > what do I missed ?
> >
> > Thanks,
> > Jack
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message