Thanks for all the quick responses. It works now. What I did is to put ".;"
and "d:\jdk1.3\jre\lib\rt.jar" in CLASSPATH.

Jack

-----Original Message-----
From: DESBOIS S�bastien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 10:29 AM
To: Tomcat Users List
Subject: RE: Very basic problem


the PATH should point to d:\jdk1.3\bin
and CLASSPATH to d:\jdk1.3\jre\lib\rt.jar

> -----Message d'origine-----
> De:   Jack Li [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 2 janvier 2002 16:26
> �:    '[EMAIL PROTECTED]'
> Objet:        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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to