Error in Netbeans when creating project [closed]

5

My error is in the IDE, I'm using Debian Jessie , I decided to use it shortly. The installation of Netbeans occurred perfectly, the JDK installation also however it returns me this error:

I tried to reinstall but it did not work, I removed the JDK and installed again and still it returns the same identical error, does anyone have any ideas?

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

    
asked by anonymous 31.12.2016 / 16:14

1 answer

7

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

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

Follow the steps below:

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