Over a million developers have joined DZone.

Work with Multiple Instances of NetBeans IDE

· Java Zone

Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.

Generally NetBeans IDE works with a default workspace. In this scenario, if you want to manage multiple sets of projects, you have to create a project group, which allows you to switch between project groups as and when required.

But the problem in this is that if the workspace is damaged, and you delete it, all your settings are lost and everything is reset to the default NetBeans IDE settings.

The solution is to work with multiple workspaces, that is, multiple instances, of NetBeans IDE. And here is how to do that:

  1. Right-click the NetBeans IDE shortcut and choose "Properties".

  2. In the shortcut tab, in Target, type after netbeans.exe "--userdir [Folder Path]".

  3. Make another shortcut of NetBeans IDE and provide a different folder path.

Like this you can create as many workspaces as you want. If one workspace is damaged, it will not effect the settings of the others. Isn't that great? :)

Also posted at: http://goo.gl/fb/rrvnA

The Java Zone is brought to you by Stormpath—a complete, pre-built User Management API. Want to learn how to use JWTs to protect microservices from CSRF and more? Check out this on-demand webinar with our Java Developer Evangelist, Micah Silverman.

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}