Run just 1 java proccess on my centos

Closed - This job posting has been filled and work has been completed.

Job Description

i need to run 1 java proccess on my centos and if the system or the user run another java proccess i need the system to kill the new one