title: netbeans - java db server doesn't start
body: <p>I'm trying to use Java DB in netbeans but the server doesn't start. I've tried adding</p>
  
  <pre><code>grant {
            permission java.net.SocketPermission "localhost:1527", "listen";
  }
  </code></pre>
  
  <p>but it didn't make any difference. I don't know what causes a problem.
  I successfully started the server using cmd but I still cannot connect to the database (the window "connecting to database" pops out but nothing happens, I also don't get any output from Java DB Database Proccess)
  Any help will be very appreciated.</p>