×

Loading...

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:
java proj1.sub2.abc
instead of just:
java abc

This is the problem I once met, hope it makes some sense for you.
(#9836@0)
2000-10-2 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 请大家帮助看看!(JAVA 问题)

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论