> One thing I noticed was the weird header file name. The name of the
> package which contains the .java file is com.motorola.stv . But when I
> am doing javah , the .h file which is created is by the name
> com_0002fmotorola_0002fstv_0002fStvUaMgr.h . I am not sure why the name
> contains those numbers. I am using j2sdk1.4.2_12.
I appears that an incorrect javah command was used to generate the
file, using slash (/) to separate components instead of dot (.).
Run javah like this, specifying the fully-qualified classname:
javah com.motorola.stv.StvUaMgr
Then make sure the method names in the C source match those in the
generated header file.
/gordon

Signature
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
sonijindal@gmail.com - 08 Dec 2006 04:26 GMT
Hi Gordon,
Thanks a lot. The solution you gave , worked !!
Regards,
Sonika
> > One thing I noticed was the weird header file name. The name of the
> > package which contains the .java file is com.motorola.stv . But when I
[quoted text clipped - 17 lines]
> [ don't email me support questions or followups ]
> g o r d o n + n e w s @ b a l d e r 1 3 . s e