I am trying to figure out how to take my .class files, put them in a .jar file, and then
import the package into a .java file.
So far, I have been able to create the .jar file, but I am seriously stuck now.
My directory looks like this:
According to info here:
Setting the class path
Classpath (Java) - Wikipedia, the free encyclopedia
I should be able to run the HelloWorld file from the command prompt . . .
however here is all I get:
I am getting nothing but the same message, no matter what I do,
ad infinitum . . . Error: Could not find or load main class apk.pkg.HelloWorld
As you can see in the command prompt image, >java HelloWorld works fine and prints out "This is a test".
Where do I go from here???
Windows 7, Java SE Runtime Environment 1.7.0_25 64-bit.