> Hi,
>
[quoted text clipped - 13 lines]
> Thanks,
> Leena
Exactly how are you executing the application? Are you using the -jar
command-line option, as in:
java -jar myjar.jar
or are you just using:
java -classpath myjar.jar com.my.main.Class
Are you including any classpath?
If you're using the -jar command-line argument, do you have a
MANIFEST.MF file with a BaseClass entry? Can you show us the
file?
What class is the error reporting that it cannot find?
Leena - 18 Jul 2006 23:09 GMT
Hi Mark,
I found the problem!
I was wrongly creating the jar file. Even though, my jar file had all
the class file, I was creating a folder and was storing classes of the
"available" jar file in that folder. So at runtime, since the classes
were inside folder(the one that I created) one level down, jar could
not find classes and throw error.
Less learnt: If the jar file is not working, then extract the jar file
and check the folder structure. This might give you some clue.
Thanks Mark for you time,
Leena
> > Hi,
> >
[quoted text clipped - 30 lines]
>
> What class is the error reporting that it cannot find?