title: How to create a process in Java
body: <p>I would like to create a process in my application. But after looking around and from Java's API I still don't quite get it.</p>
  
  <p>Basically I want to create a multi process application. But the new process is a class in my application.</p>
  
  <p>I know some of you might ask why not create a thread? Because the class is calling a matlab code, the problem and the Java class is <a href="https://stackoverflow.com/questions/1997585/error-when-calling-compiled-m-file-jar-in-a-multi-threaded-java-app">Here</a></p>
  
  <p>Is there any way to do this?</p>