public class appl_1
{
public static void main(String args[])
{
System.out.println("hello java !!");
}
}
安装在c:\program files\java下有jdkl.6.0_10和jre6两目录
classpath=.;c:\program files\java\jdkl.6.0_10\lib\dt.jar;c:\program files\java\jdkl.6.0_10\lib\tools.jar;
c:\program files\java\jre6\lib\dt.jar;c:\program files\java\jre6\lib\tools.jar;
path=c:\program files\java\jdkl.6.0_10\bin;c:\program files\java\jre6\bin;
运行java appl_1错误
exception in thread "main" java.lang.noclassdefounderror:appl_1
{
public static void main(String args[])
{
System.out.println("hello java !!");
}
}
安装在c:\program files\java下有jdkl.6.0_10和jre6两目录
classpath=.;c:\program files\java\jdkl.6.0_10\lib\dt.jar;c:\program files\java\jdkl.6.0_10\lib\tools.jar;
c:\program files\java\jre6\lib\dt.jar;c:\program files\java\jre6\lib\tools.jar;
path=c:\program files\java\jdkl.6.0_10\bin;c:\program files\java\jre6\bin;
运行java appl_1错误
exception in thread "main" java.lang.noclassdefounderror:appl_1
解决方案 »
- java高手来帮忙!!关于“({ });”形式
- 求助eclipse下写的时候没有出错,但是运行就报错
- 我是java初学者,现在要编一道java题,帮帮哦……?
- 请问在那里可以下载到《java联机丛书》或《java联机帮助》
- 关于jdbc中的数据源,和JNDI
- java程序怎么样在windows的系统栏上显示一个图标?
- 哪位有功能同php中的crypt()函数的java程序,急需,100分马上送到!
- 问:java寻找classpath里的class有顺序吗?系统指定classpath的顺序如何影响编译?
- 怎样把 44,234,434 转换成 数字 44234434 ?? 就是说去掉逗号(寻求最简单的方法)
- printf如何解决中英文对齐
- java绘图
- 两个二维数组怎么合并一起
能提示这句说明你的配置应该是没问题的了
JAVA_HOME D:\Program Files\Java\jdk1.6.0_14
Path D:\Program Files\Java\jdk1.6.0_14\bin