السلام عليكم
لدي برنامج بسيط جدا لكن يابى ان ينفذ
public class NewClass{
public static void main(String[] args) {
System.out.println("I am Hello World running from cmd");
}
}هذا استدعائه
public class RuntimeTest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException {
Runtime r=Runtime.getRuntime();
String com="cmd /c start cmd /k java NewClass";
r.exec(com);
}
}يطلع هذا الخطا
NoClassDefFoundError
