Hi all
when I run commend :
"C:\LJava\project\KTest2>java -cp .;org.freixas.jcalendar;.\build components.KTest2"
my code runs well
I then made a jar file with the command
"C:\LJava\project\KTest2>jar -cf KTest2.jar .\build\components\*.class"
my MANIFEST.MF 's content is :
Manifest-Version: 1.0
Created-By: 1.7.0 (Oracle Corporation)
Main-Class: components.KTest2
but when I run command
"C:\LJava\project\KTest2>java -jar KTest2.jar"
I got the message
"Error: Could not find or load main class components.KTest2"
will anybody here teach me what i have done wrong ?
thank you
denny