solution for Exception in thread "main" java.lang.NoClassDefFoundError [message #92276] |
Fri, 14 May 2004 06:59 |
BIndi
Messages: 4 Registered: March 2003
|
Junior Member |
|
|
import java.io.*;
import java.lang.*;
public class k extends Thread {
public static void main (String[[]] args) throws IOException, InterruptedException {
String[[]] cmdArray = {"c:\wtk20\bin\emulator","-classpath audiodemo.jar", "-Xdescriptor:audiodemo.jad"};
Process proc = Runtime.getRuntime().exec("a.bat");
System.out.println("hello");
Thread.currentThread().join();
}
}
the above is my code n i m trying to run it but i m not able to do it successfully can u please send me the solution
my file is oc c:
and my jdk is as under C:j2sdk1.4.2_01bin
i have made a batch file on c:/
which is as underPATH=c;j2sdk1.4.2_01bin
set CLASSPATH=c;bindi
can u please reply as soon as possible
|
|
|
|