public class SoundSourceDraw extends JFrame { .... public void run() throws IOException { ProcessBuilder pb = new ProcessBuilder( "/home/colbot/workspace_eclipse/sound-source-loc/Debug/sound-source-loc");