Topic: 菜鸟级问题,求助各位老大(NoClassDefFoundError) |
Print this page |
1.菜鸟级问题,求助各位老大(NoClassDefFoundError) | Copy to clipboard |
Posted by: tipma1 Posted on: 2005-01-27 09:07 C:\javacode\Helloworld>java helloworld Exception in thread "main" java.lang.NoClassDefFoundError: helloworld 这个问题应该如何解决呢? 附上:如何配置环境变量呢? |
2.Re:菜鸟级问题,求助各位老大 [Re: tipma1] | Copy to clipboard |
Posted by: kelvenAC Posted on: 2005-01-27 14:51 try to type java HelloWorld.java |
3.Re:菜鸟级问题,求助各位老大 [Re: tipma1] | Copy to clipboard |
Posted by: why Posted on: 2005-01-27 18:04 kelvenAC君胡说八道。 你的class的名字是啥呢?要注意大小写喔。 不行的话,请搜搜旧帖。 关键字用NoClassDefFoundError之类。 |
4.Re:菜鸟级问题,求助各位老大(NoClassDefFoundError) [Re: tipma1] | Copy to clipboard |
Posted by: sjtuxu Posted on: 2005-01-27 18:50 设定一下你的环境变量 set classpath=C:\javacode\Helloworld 再java一下看看 |
5.Re:菜鸟级问题,求助各位老大(NoClassDefFoundError) [Re: sjtuxu] | Copy to clipboard |
Posted by: why Posted on: 2005-01-27 22:34 sjtuxu wrote: 唉──要试也试 set classpath=. 好了。 |
6.Re:菜鸟级问题,求助各位老大(NoClassDefFoundError) [Re: tipma1] | Copy to clipboard |
Posted by: heart5 Posted on: 2005-02-01 10:36 大家在配置classpath的时候一般很容易把当前目录给漏掉,注意注意要把当前目录添上,比如set classpath=.;c:\jsdk142\lib\tool.jar云云 要不看这这个东西在这里还是找不到啊。因为java的运行机制和windows还是有不小差别的 |
7.Re:菜鸟级问题,求助各位老大(NoClassDefFoundError) [Re: tipma1] | Copy to clipboard |
Posted by: mimixia Posted on: 2005-02-07 13:24 学习 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |