Well one, CareyRonald Heron wrote:. . . thank you . . .
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Norm Radder wrote:I think the -cp option was having java look in the wrong place.
Change to the classes folder and enter this command:
The package name gives the java command the path to where the class file is.
Using -cp "com/mycompany/helloworld" com/mycompany/helloworld/HelloWorld
has java looking in the helloworld folder for the package/path ie com/mycompany/helloworld/HelloWorld
I don't even know how to spell CIA. But this tiny ad does:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|