Issue
I accidentally deleted main class in NetBeans from Templates, know I cannot create any projects. Does anyone know how to retrieve it? I tried to reinstall NetBeans but it didn't work for me. So please if anyone knows how to fix this I would appreciate it very much.
Solution
Take a look here. Same problem resolved.
UPDATE
Ok. Close NetBeans IDE, go to NetBeans userdir , then to config/templates directory and delete Classes_hidden file.
When NetBeans IDE is started again templates for Java are back.
p.s Net beans user dir is something like this C:\Users\YOUR_USER\AppData\Roaming\NetBeans\8.2\config\Templates I tried this and it worked.
Answered By - Mezzadri
Answer Checked By - Gilberto Lyons (JavaFixing Admin)