15

I started a new Enterprise Application project in Netbeans 7.1.1 and then later deleted the 3 projects ([project], [project]-war, [project]-ejb) from the projects window in the IDE, by right clicking them and selecting Delete, and also checking "[Delete all source files in folder on hard disk]", but it did not remove the projects from my Recent Projects in the Start Page.

I've searched through google, and most solutions are for netbeans 6.x and don't work for my version. These solutions say to find the file ./config/Preferences/org/netbeans/modules/projectui.properties from the install folder and remove them there. I have been unable to find this or a similar file, and haven't been able to do it from IDE itself either. How can I remove these Recent Projects? Does anyone know of a solution?

Nick Rolando
  • 25,879
  • 13
  • 79
  • 119

4 Answers4

22

You should be able to find the projectui.properties file in:

Unix

 ~/.netbeans/<netbeans-version>/config/Preferences/org/netbeans/modules/projectui.propertie‌​s

Mac OS X [Absolute Path]

/Users/<username>/Library/Application Support/NetBeans/<netbeans-version>/config/Preferences/org/netbeans/modules‌​/projectui.propertie‌​s

Windows

C:\Users\<username>\AppData\Roaming\NetBeans\<netbeans-version>\config\Preferences\org\netbeans\modules\projectui.propertie‌​s

Remember changes will be applied only on the specific NetBeans version for the specific user.

Nafeez Abrar
  • 1,045
  • 10
  • 27
Belakor
  • 221
  • 1
  • 3
  • 1
    Thanks, this worked for me. Do not forget to remove the lines corresponding to "recent project url" and "recent project icons". – Sourabh Bhat Sep 29 '14 at 08:40
  • Mac OS X path for NetBeans 8.1: `/Users/YourNameHere/Library/Application\ Support/NetBeans/8.1/config/Preferences/org/netbeans/modules/projectui.properties` – Basil Bourque May 12 '16 at 18:16
  • /Users/YourNameHere can be shortened to ~ So it's ~/Library/Application\ Support/NetBeans/8.1/config/Preferences/org/netbeans/modules/projectui.propertie‌​s – gingerCodeNinja May 27 '16 at 12:34
5

In windows 7 you could find the file projectui.properties in C:\Users\[username]\AppData\Roaming\NetBeans\7.2.1\config\Preferences\org\netbeans\modules

I also has found this file for my previous installation NetBeans IDE 7.0 in such path C:\Users\[username]\Documents\.netbeans\7.0\config\Preferences\org\netbeans\modules But sure, this file is not actual.

Andriy Garkin
  • 71
  • 1
  • 4
3

Right click on the project name to get the context menu. Select "Close Project" and that will remove it from the displayed list of projects.

click here for more details

Thanks

Community
  • 1
  • 1
Mitz
  • 561
  • 8
  • 21
1

For me, closing Project from Project pannel does not remove my projects from Recent list.

Using snap installation for version 10.0, on Ubuntu 18.04 bionic beaver, you should go to ~/snap/netbeans/common/data/10.0/config/Preferences/org/netbeans/modules

Remove content for "RecentProjects" keys :

  • RecentProjectsDisplayNames
  • RecentProjectsIcons
  • recentProjectsURLs