摘要
针对HelloWorld.java运行中出现的四个错误:1.Public class helloworld must be defined in a file called"Hel-loWorld.java".;2.HelloWorld is an invalid option or argument.;3.‘javac’不是内部或外部命令,也不是可运行的程序或批处理文件;(javac:Command not found);4.Exception in thread"main"java.lang.NoClassDefFoundError:HelloWorld,类路径(classpath)问题进行逐一得解决.
At the time of HelloWorld. java's running,there's four mistakes: 1. Public class helloworld must be defined in a file called "HelloWorld. java". ; 2. HelloWorld is an invalid option or argument. ; 3. 'javac' is not the inner or outer order; 4. Exception in thread "main" java. lang. NoClassDefFoundError: HelloWorld, classpath. They will be solved.
出处
《江苏教育学院学报(自然科学版)》
2007年第3期126-127,共2页
Journal of Jiangsu Institute of Education(Social Science)
关键词
JAVA
环境变量
类
Java, surrouding variation, class