Hi all!
My class files are located in e:\Eze\test\class\test directory
I have an application that runs perfectly when I do:
E:\Eze\test>set classpath=.;e:\Eze\test\class
E:\Eze\test>java test.mainTEST
But, when I try to execute it from the jar file I've just created... I receive this error:
E:\Eze\test>jre -cp jfile.jar test.mainTEST
Class not found: test.mainTEST
And the same thing occurs if I do not type the "test." prefix:
E:\Eze\test>jre -cp jfile.jar mainTEST
Class not found: mainTEST
The way I create the jar file is:
E:\Eze\test>jar cf jfile *
and even
E:\Eze\test>jar cf jfile class\test\*
Any idea on what is the problem with my .jar???
Thanks!
Eze.
eze@bumeran.com ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina
My class files are located in e:\Eze\test\class\test directory
I have an application that runs perfectly when I do:
E:\Eze\test>set classpath=.;e:\Eze\test\class
E:\Eze\test>java test.mainTEST
But, when I try to execute it from the jar file I've just created... I receive this error:
E:\Eze\test>jre -cp jfile.jar test.mainTEST
Class not found: test.mainTEST
And the same thing occurs if I do not type the "test." prefix:
E:\Eze\test>jre -cp jfile.jar mainTEST
Class not found: mainTEST
The way I create the jar file is:
E:\Eze\test>jar cf jfile *
and even
E:\Eze\test>jar cf jfile class\test\*
Any idea on what is the problem with my .jar???
Thanks!
Eze.
eze@bumeran.com ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina