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
In your jenkins shell script try:
export BUILD_ID=dontKillMe nohup java -jar your_java_app.jar &
It worked for me!