I'm not sure how to help with this. Have you asked on the JW Player forum? I think this is going to become increasingly difficult because, as I understand it, the source for premium and enterprise editions is not available, so you can only do it with free version which lacks some features, like HLS to the desktop (tho SecureToken is not used in HLS streaming), and JW Player 5, which you are using, I don't think is available anymore.
Keep in mind that SecureToken only works with RTMP (and variants), and you will want to use
HotLinkDenial (or htaccess rules to prevent hotlinking) and
RTMPS (preferred) or
RTMPE protocol to make a complete solution
Note that as far as I know the source code for the premium and enterprise versions of JW player are not available, but the main strength of those versions for streaming purposes is HLS to the desktop, which does not support SecureToken.
You use SecureToken to ensure that only your player will work with your content, and you use HotLinkDenial to make sure no one will hotlink the player you have secured, and use RTMPS or RTMPE to encrypt the stream itself. So these are all used together. The readme.txt file in the source code has instructions for compiling, I can't help more with that.