I have even been using NetBeans (version 8.2) to program in Java because I like this IDE but I don't know why it doesn't work correctly anymore, I click on create a new file or project and nothing opens and when I try to open a project it lets me select it but As soon as I open it, it does absolutely nothing, I have already tried to delete all the folders related to the program and then reinstall it but it has not worked, until yesterday it worked perfectly for me, any idea what is happening and what can I do? ?
Apparently the program started using jdk9 which is the cause of the problem but I have told it to use jdk1.8.0_151 and everything is solved.
Before installing an IDE you should review its requirements , I use Netbeans 8.1 which requires Java SE Development Kit (JDK) 7 Update 10 and for version 8.2, the requirements are:
Exactly the same thing happened to me. Reading AlejandroLL's message I looked in my installed programs and I had two different versions of JDK installed, I removed the JDK 9 versions (Java 9 and Java SE Development kit 9). When reopening Netbeans it has asked me if I should use the default configuration, there you say 'Yes' and everything goes perfectly.
Apparently there was some conflict with JDK versions 8 and 9.
netbeans
You only need to change the name of a folder called 8.2 to _8.2 to solve the problem in netbeans 8.2 that does not load the history or rather the main, when creating a new application this is the solution.
go to local disk(c:)\Users\user_name\AppData\Roaming\NetBeans.
in the Netbeans folder you will find a folder with this name 8.2 rename it to _8.2 and that's it. Don't forget to close netbeans first because it won't let you rename the folder.
First step: close netbeans. Second Step: go to the netbeans folder.(above I leave you the path of how to get there) Third Step: rename the 8.2 folder to _8.2 Fourth Step: open netbeans and create a new api. Fifth Step: You are happy because it already works.