Patch for NetBeans 6.1 Now Available

A new patch for NetBeans 6.1 is now available on the Update Center. The patch includes fixes in modules for BPEL, C/C++, Database, Editing Files, GUI Builder, IDE Platform, Java, Java Debugger, Java EE, Java Persistence, JBoss Application Server, Mercurial, Mobility, NetBeans Plugin Development, RESTful Web Services, Ruby and Rails, SOA, Spring Web MVC, UML, Visual JSF, Visual Mobility Designer, Web Applications, Web Services, and XML and Schema.

For more information, see

The NetBeans community asked for more frequent updates, and we're doing it. The timing and the number of fixes in a patch varies, but we're keeping up the pace with solid updates that benefit the community.

The update is easy to install when the NetBeans IDE is running. Just click on the globe in the status bar or go to Tools -> Plugins -> Updates tab, then follow the installation instructions.

The updates are also available in zipped format on SunSolve.

If you want to nominate more bugs to be included in future patches, just take a look at the wiki page.


[Trackback] Bookmarked your post over at Blog!

Posted by restful on May 27, 2008 at 02:04 AM PDT #

Every time I try to download the latest updates I get the following:

Cannot read NBM D:\\Program Files\\NetBeans\\6.1\\uml5\\update\\download\\org-netbeans-modules-uml.nbm

Any suggestions

Posted by Mark DeYong on May 29, 2008 at 06:59 AM PDT #

Can you post the values for install and user directory values? (These can be obtained from Help|About).

Posted by Karthik on May 29, 2008 at 07:24 AM PDT #

Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1

Posted by Mark DeYong on May 30, 2008 at 07:43 AM PDT #

It looks like NB is installed in D:\\Program Files\\NetBeans\\6.1 and userdir is at C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1 .

Normally when updates are made, the nbms should be downloaded and installed in the userdir. But from the error message (Cannot read NBM D:\\Program Files\\NetBeans\\6.1\\uml5\\update\\download\\org-netbeans-modules-uml.nbm) it looks like the update is being done in install dir.

Can you check if in 'Tools | Plugins | Settings tab' , whether 'Installed into shared folder' checkbox is checked?

Posted by Karthik on May 30, 2008 at 09:34 AM PDT #

I went to the 'Tools | Plugins | Settings tab', and checked the box that said 'Force install into shared directories', but still had the same results.

Do I need to uninstall, and start all over?

Posted by Mark DeYong on June 01, 2008 at 11:58 PM PDT #

- In general, when , for some reason, the install gets unstable, the following things can be tried:
- Use a fresh userdir (
- Uninstall and reinstall the ide (making sure the new install does not reuse the existing directory).

- As far the particular issue you are encountering:
> checked the box that said 'Force install into shared directories'
The checkbox should preferably not be checked. If checked, then the modules will be installed globally (i.e in the ide install dir). If not checked, then modules will be installed locally (i.e in the userdir). The latter is the preferred method.

In your case, even when the checkbox is not checked, the module tries to install itself in the install dir; i am not sure why this is happening. Perhaps the module itself is set to install globally. But what seems to be happening is that, instead of downloading the module to C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1 , the nbms are being downloaded to D:\\Program Files\\NetBeans\\6.1\\uml5\\update\\download\\org-netbeans-modules-uml.nbm .

One thing you can do is to check if there are any error messages and/or stacktraces in the ide log (<userdir>/var/log/messages.log) file. You can either post them here; Or you can file a bug in issuezilla ( and follow up.

Another thing you can check is whether the current user has read/write rights to D:\\Program Files\\NetBeans\\6.1\\uml5.

Posted by guest on June 02, 2008 at 02:09 AM PDT #

Well, I have gone through the process of uninstalling NetBeans, and I installed it under the same userdir as NetBeans uses:
Userdir: C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1

Actually it is loaded under "C:\\Documents and Settings\\DEYONGMA\\NetBeans 6.1"

Now when it tries to do the update, I still get the same message:

"Cannot read NBM C:\\Documents and Settings\\DEYONGMA\\NetBeans 6.1\\uml5\\update\\download\\org-netbeans-modules-uml.nbm"

Same message, different location.

Posted by Mark DeYong on June 02, 2008 at 07:10 AM PDT #

1. Reinstalling

> uninstalling NetBeans, and I installed it under the same userdir
> as NetBeans uses: Userdir: C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1
> Actually it is loaded under "C:\\Documents and Settings\\DEYONGMA\\NetBeans 6.1"

I would like to confirm my understanding of the above; i understand that
NetBeans is installed at: C:\\Documents and Settings\\DEYONGMA\\NetBeans 6.1
Userdir (as shown in About dialog):
C:\\Documents and Settings\\DEYONGMA\\.netbeans\\6.1
Is my understanding correct?

It should not be necessary that NB is installed in 'C:\\Documents and Settings\\DEYONGMA' though it shouldn't matter. For a typical uninstall and reinstall, the following steps will perform a complete fresh install:
- Uninstall NB using the uninstaller
- Delete NB install directory
- Delete the userdirectory (i.e .netbeans\\6.1)
- Rerun the installer and install the product under
"(drive:)\\Program Files\\NetBeans\\6.1\\uml5\\update\\"

2. An issue similar to the one you encountered has been filed at:
...please tell me more details about your problem:
IDE Build number, steps for reproduction the problem
and next related topics. Preferably attach your messages.log. Thanks
...I'm have lack of information. Some symptoms hint at write
permission problem at windows.

The engineer hasn't been able to reproduce the issue. It looks like NetBeans is having trouble reading and/or writing a file at the specified location. Perhaps it is a firewall problem.

Can you try filing an issue in issuezilla? (Once the issue is created you may want to attach the ide log file to the issue). If you do create one, i would appreciate if you can post the issuezilla id in this thread.

Posted by Karthik on June 02, 2008 at 08:19 AM PDT #

I have not been able to complete the update. However, I installed NetBeans on another machine. This time without the UML plugin. The updating worked on it. I then uninstalled the UML plugin on my NetBeans, and was able to update.

Is there some problem with the UML update plugin?

Posted by Mark DeYong on June 19, 2008 at 06:47 AM PDT #

Are you running on Vista? If so, can you take a look at ?

Posted by Karthik on June 19, 2008 at 08:11 AM PDT #

No, I wish I could blame it on Vista, but I'm running on XP.

Posted by Mark DeYong on June 19, 2008 at 10:49 PM PDT #

- Are there any error messages and/or stacktraces in the ide log? (The idelog is at <userdir>/var/log/messages.log. On <userdir> : )
If so, can you post them here?

- Can you check if you have write permissions in the ide install dir? It is possible that UML or some module it depends on needs to be installed globally (i.e in ide install dir and not in userdir). One thing you can try is to start the ide with a fresh userdir, ensure ide-install-dir has write rights for the current user and reinstall the patch. This would unfortunately mean that any user settings will be lost.

Posted by Karthik on June 20, 2008 at 05:30 AM PDT #

where can i found this batch please i need help to find it
ali from baghdad - iraq

Posted by aleera on September 20, 2008 at 06:55 PM PDT #

- Using 'Tools | Plugins' menuitem in the NetBeans IDE, you should be able to get the updates from the update center.

The on-line help has detailed instructions on doing so:

- The latest patch is also available as a zip-of-nbms at:
(If you want just patch1, then you can obtain it from

Once you have downloaded the zips, follow the instructions in the 'Patch Installation Instructions' and 'Special Installation Instructions' sections in the readme URL provided above.

Posted by Karthikeyan Rajeswaran on September 21, 2008 at 10:54 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

A blog for NetBeans users maintained by NetBeans Support team. For professional support, please check out Support Resources.


« June 2016