Netbeans Error When Creating Project

Asked

Viewed 2,120 times

5

My mistake is in the IDE, I’m using Debian Jessie, I decided to use it recently. The Netbeans installation went perfectly, the JDK installation too, but it gives me this error:

Imagem para demonstrar o erro

I tried to reinstall but it didn’t work, I removed the JDK and installed again and even so returns me the same error identical, someone has some idea?

The mistake happens every time I try to create a new project.

1 answer

7


What happens is that sometimes Netbeans does not find the folder where JDK is installed.

To resolve this, you must manually add the folder to the Netbeans configuration file.

Follow the steps below:

  1. Open the file netbeans conf. located in the folder netbeans/etc with any text editor.
  2. Enter the location of the JDK Installation. No Windows is C: Program Files Java jdk1.7.0_67 (or something of this kind, depending on the version) and Linux is /usr/lib/jvm/java-8-oracle/ (or something of this kind, depending on the version)
  3. Save the file netbeans conf. and run the executable in the folder netbeans/bin
  • 1

    Thanks for the support, it worked perfectly after I included the path in the netbeans.conf file

  • How do I pass this path inside the file? Just include the folder path?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.