你试着在class HelloWorld前面加public看看。
解决方案 »
- String 堆栈 常量池 请人帮忙
- ClassCastException 问题
- 有意思的问题,欢迎探讨
- 这个程序可以关闭,怎么设置背景颜色???
- 请帮我看看这个错误是什么意思
- 如何设置g.drawLine画的线为点画线(dotline)??
- 关于时间比较的问题
- non-static variable this cannot be referenced from a static context错误??
- 对于"=="和"equals()"方法的总结
- 急问:如何去掉窗口的标题条
- 寻JBuilder 6 Interprise 的Serial Number或License Key?
- 一个关于 superclass的问题。
E-MAIL:[email protected]
file ---- preferences --- editor -- 选宋体 (可支持汉字)
另外有没有设置path & classpath?
_______________
class hello{
public static void main(String args[]){
System.out.println("Hello World!");
}
}
-------------------------------
set classpath=c:\j2sdk1.3\binjavac hello.javajava hello
--------------------
Hello World!
---------------------------
没问题