for this we are going to use arpspoof in linux and i have finished a solution for the blocking of sites and servers, and what i am going to make is a GUI that makes it easier for me to handle and control these things and when i tried running arpspoof from java using a ProcessBuilder it does not work and i get no output ? O.o
it also does not enter the while loop

my code:
new Thread() { public void run() { try { System.out.println("running arpspoof..."); Process prb =new ProcessBuilder("gksudo","arpspoof","i","wlan0",Gateway).start(); InputStream is = prb.getInputStream(); InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); String line; while ((line = br.readLine()) != null) { System.out.println("Output: " + line); } } catch (IOException e) { e.printStackTrace(); } } }.start();