×

Loading...

Do you use the "package" ?

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.
Sign in and Reply Report

Replies, comments and Discussions: