Native UML Module for NetBeans

UPDATE: There is a more recent post regarding the Native UML module for NetBeans here.

I have been a long time user of NetBeans IDE. I really like the simplicity and how it is almost an all-purpose IDE for virtually any language you can think of.

However, I was horrified recently when I upgraded to version 6.8, to discover that the UML module was gone, and instead NetBeans insisting I use a third-party UML generator.  So I tried it, and hated it immediately.  I considered rolling back to an earlier version, but first I thought I would try a little voodoo.

I noticed that version 6.9 was released and so I downloaded it, and installed as per normal.  I then found this page (the 6.9 release candidate zip download page) which listed a file called ‘netbeans-6.9-201005312001-ml-uml.zip’.  Ah ha.  Since I am on OSX, I opened the package contents up from Applications, unzipped the uml.zip file and dropped the new UML directory into the installation directory.  I started up NetBeans and voila:

I tested the new project, and it worked like a treat (some people who tried various other hacks reported that even though the project appeared, there was issues saving/opening them).

I hope this works for you too, and of course make sure you backup any existing projects – dont come crying to me if you destroy your work trying to implement this!

3 Replies to “Native UML Module for NetBeans”

  1. But when I try on my Ubuntu 10.04 x64, it doesn’t work!

    I had unzip uml.zip file to my NetBeans6.9 installation directory.
    When I active it in NetBeans, it said that “Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.uml.kit jarFile: /usr/local/netbeans-6.9/uml/modules/org-netbeans-modules-uml-kit.jar]”.

    Could somebody help me to fix it?

  2. Did you check permissions?  Also be warned, that even if you DO get it working, once you close the diagram in NetBeans, you will be unable to open it again.  Best to rollback all the way to 6.0 and try that version of NetBeans with the UML editor.

Leave a Reply

Your email address will not be published. Required fields are marked *