title: How to solve error java.lang.NoClassDefFoundError at the time of installing netbeans8 in debian
body: <p>I am trying to install netbeans 8 in debian-7.0-amd64-minimal. (VPS)</p>
  
  <p>1st I have installed java/JDK latest version (1.8.0_20) by following 
  <a href="https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps" rel="noreferrer">https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps</a></p>
  
  <p>Next I am trying to install netbeans by following </p>
  
  <p><a href="http://installnetbeansdebian.blogspot.com/2013/06/how-to-install-netbeans-73-ide-complete.html" rel="noreferrer">http://installnetbeansdebian.blogspot.com/2013/06/how-to-install-netbeans-73-ide-complete.html</a></p>
  
  <p>when I run </p>
  
  <pre><code>./netbeans-8.0-php-linux.sh
  </code></pre>
  
  <p>it displays the following error.</p>
  
  <pre><code>Configuring the installer...
  Searching for JVM on the system...
  Extracting installation data...
  Running the installer wizard...
  
  Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
  </code></pre>
  
  <p>Anybody knows, how to fix this?</p>