就写个hello world 程序 JBuilder 2006 的edit runtime configuration 怎么设置啊 ?
我把 NAME 写成与 类名一个名 程序运行时发生错误! 弹出对话框:Fatal exception occurred.Program will exitmessages 错误信息:
java.lang.NoSuchMethodError: main
Exception in thread "main"整个程序 最简单的程序:package untitled2;/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Untitled1 {
public static void main(String [] args)
{
System.out.println("Sss");
}
}老手帮忙 谢谢!!!
我把 NAME 写成与 类名一个名 程序运行时发生错误! 弹出对话框:Fatal exception occurred.Program will exitmessages 错误信息:
java.lang.NoSuchMethodError: main
Exception in thread "main"整个程序 最简单的程序:package untitled2;/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Untitled1 {
public static void main(String [] args)
{
System.out.println("Sss");
}
}老手帮忙 谢谢!!!
public static void main(String [] args) //改为String[] args
{
System.out.println("Sss");
}
}//////////////
这样写,去掉[]前空格
public class Untitled1 {
public static void main(String[] args) {
System.out.println("Sss");
}
}