UPDATE: Based on below discussion I have edited my answer for more accurate description.
I am trying to run a nohup command from jenkins. The full command is
Simplest way :
`nohup java -jar [jar_name].jar >log_file_you_want 2>another_file`&