读书人

JCreator Could not find the main c

发布时间: 2013-01-04 10:04:14 作者: rapoo

JCreator Could not find the main class 求大神来帮忙
代码:
public class hello
{
public static void main(String[] args)
{
System.out.printIn("hello");
}
}
这一个简单的显示“hello”的程序 却有问题
[解决办法]
JDK下载后设置好环境变量了吗?
还有JCreator Home Directory下也要设置JDK的路径才能正常使用JCreator。
[解决办法]
import java.util.*;
public class Hello
{
public static void main(String[] args)
{
System.out.println("Hello");
}
}
运行下试试,有问题与我联系

读书人网 >Java相关

热点推荐