Do you use the "package" ?

sailor (Sailor)
If yes, check the path which you use to call the class.

For example, if your program looks like this:

package proj1.sub2
public class abc

Then you should use:
instead of just:
java abc

This is the problem I once met, hope it makes some sense for you.
2000-10-2 -05:00

回到话题: 请大家帮助看看!(JAVA 问题)

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论