Hi,
What's the version of your system?
Please double check the STMS directory where you are placing the file is same as mentioned in the profile of portal.
Please check what is the version of kernel in your system currently. Don't use DISP+WORK as in case of only java system this file is not replaced by sap tools usually.
Check the date of the latest files in the /usr/sap/SID/JC*/exe and /sapmnt/SID/exe.
Copy the correct Kernel files related to OS and hardware and unicode.
If its NW7.3 and above you need to use SUM tools.
JSPM will still work for NW7.0X system but not recommended by SAP.
Thanks
Rishi Abrol