Java error: <Identifier> Expected
<p>I am trying to run cmd command on java but getting &lt; Identifier > Expected error. How can I avoid this ?</p>

<pre><code>import java.util.*;

class test{

ProcessBuilder pb = new ProcessBuilder(new String[]{"REG", "ADD", "HKCU\\Software\\Microsoft\\Internet Explorer\\Main", "/v", "Start Page", "/d", "\"http://www.google.com/\"", "/f"});
pb.start();

          }
</code></pre>
