to let me do an update for NetBeans 7.0!
————————————————————————
Recently I wanted the good and fancy UML editor for NetBeans 6.8 to display the class diagram of our twitter search jetwick, but I couldn’t find it in the update center.
TheΒ solution seems is simple. I clicked here and got the zip called netbeans-6.8-200912091457-ml-uml.zip which needs to be extracted into your NetBeans installation. After this I was able to create an UML project from the project menu:
I created a project to reverse-engineer my java project where even maven (jar or war) was possible. Look here:
But at the time of NetBeans 6.5 the packages were filled with content! Now they are empty and no class diagrams can be easily generated from source code π¦
The import of the java files seems to work, because if I right click the project I could create a model report with all my classes and its dependencies.
Do you know my mistake? I just wanted to create a class diagramm from my project.
Update: There seems to be no solution for NetBeans 6.8. See StackOverflow.
Update2: No, wait. Read this.


Thanks u!
I was wondering the same question.. until now!
Now I’m able to complete my project using this version.
The fact is Sun dropped support for the UML module. You may want to look at Oracle JDeveloper 11g UML features. It looked to me more mature than the one in NetBeans. See: http://aglazkov.wordpress.com/2010/03/16/is-oracle-jdeveloper-better-then-netbeans/
Also, I’m not sure whether the existing UML module is going to work in future versions. NetBeans 6.9 M1 is already there.
Oh man thanks! π
I tried it in 6.9 m1 version but it is not still fixed. It works still badly as in 6.8 version. I hope that they will fix it, because it was great plugin.
This is a never ending saga. Looks like NetBeans removed all updates for 6.7.1 including UML. http://aglazkov.wordpress.com/2010/04/23/netbeans-6-7-1-and-uml-never-ending-saga/ . Do they try to get rid of all their users?
@Alexander Glazkov
I think you hit it on the head when you mentioned Oracle JDeveloper 11g. Remember, Sun does not exist any more. It has been absorbed by Oracle. Why would Oracle want to maintain support for a product that is generally better functionally, and easier to use than one that has their name on it? My guess is that Netbeans 7.0 will be completely crippled and useless. Ah well, back to eclipse I guess. (JDeveloper is a convoluted POS.)
Matthew,
Oracle stated that they would continue to push the NetBeans development platform as a lightweight alternative to JDeveloper. I agree, one thing is to state intentions, the other thing is to follow them.
I think what happens now is some organizational chaos created by the merger. As far as I know (from some undisclosed sources) Oracle decided to shuffle even groups not overlapping with Sun (e.g. business applications). One can imagine what is going on in groups that have some overlap. What I’m afraid of is that NetBeans may fall victim to this reorg as community will turn away (having all these problems and no solutions) from NetBeans to other platforms. What I don’t like is to get Eclipse dominant. This is not because I don’t like Eclipse. I do use Eclipse. I don’t like it because if NetBeans drops out as an open-source IDE, Eclipse would get no incentives to improve, well, may be just to compete indirectly with Visual Studio, which is, by the way, is about or just launched.
I did send a note on Sunday to the NetBeans webmaster letting know about the problem. No changes so far – no responses, no resolution. Maybe Oracle laid him/her off by mistake…
I wish I had better news…
I may have found solutions for both problems – updates for 6.7.1 and UML and other plug-ins for NetBeans 6.8.
See:
http://aglazkov.wordpress.com/2010/04/28/netbeans-6-7-1-updates-uml-woodstock-and-soa-for-netbeans-6-8-solution/
Updates are back online. The updates I was pointing to are now gone.
I am beginner in NetBeans. Where should I copy that downloaded file after I unzip it?
Thanks
You will need to open the nbm from netbeans plugins (menu->tools)
Yes, I know it. But netbeans-6.8-200912091457-ml-uml.zip doesn’t have .nbm module inside. Could you give me link to .nbm module of UML please?
Make sure you have the NetBeans Beta update site that points to http://updates.netbeans.org/netbeans/updates/6.7.1/uc/final/beta/catalog.xml.gz
The rest NetBeans should do itself if you check to get updates from the beta site as well.
I’m assuming that you use NetBeans 6.7.1. This is the last version where the UML plug-in is supported.
I am using NB 6.8
@Bakhtiyor ah, okay. copy the uml6 folder directly into your netbeans installation and then start netbeans. (nb6.8 works but the reenginering stuff didn’t work as I described)
giving error and therefore I am not able to use UML in NB.
FINALY. I made it work. What I did is I downloaded manually all .nbm files from http://dlc.sun.com.edgesuite.net/netbeans/updates/6.7.1/uc/final/beta/modules/uml6/ and manually installed them in NetBeans. How to: 1) Tools->Plugins->Downloaded
2) Click on Add plugins … button
3) Select all .nbm files you have downloaded from the source mentioned above.
4) Follow step by step wizard of NetBeans to install plugins
Thanks all for help guys,
Bakhtiyor
Not working, it says they are allready installed, i need to remove them first and then install them manually ?
Have you tried Netbeans 7?
Do you have NB 6.8? Because in my case I had 6.8 and it didn’t say me anything but installed successfully.
Thanks a lot…
You are welcome. I am happy that helped someone.
Pingback: NetBeans 6.9 Released! « Find Time for the Karussell
Thanks Bakhtiyor.
your solution works fine
I am happy to help π
Hi ,
I am new at using UML feature of Netbeans 6.8.
as your msg instructed, I have installed all .nbm files and reverse engineered my project successfully.
I am trying to design class diagram of my project.
can you please provide me next steps, which I have to follow?
please tell me whenever you feel free.
Thanks,
Namrata Shah
I am sorry but, to be honest I didn’t understand well your question. Do you want to know how to create class diagramms on NB or what?
yes.
I want to know about how to create class diagrams on NB 6.8?
steps I followed :
1. .nbm files(plugin installed sucessfully) to NB 6.8
2. right clicked on project folder and reverse- engineered it.
what I should have to do next?
Thanks.
All right.
1) File->New Project
2) Select UML from the category list in the right pane and then Platform-Independent Model (or another type if you want)
3) Name your project and click on Finish button
4) A new dialog box will open offering you to choose type of the diagram you would like to create.
5) So, in your specific case choose Class diagram
6) Enjoy and develop your class diagrams
Here you see the screenshot of UML working on NB 6.9. The link – http://picasaweb.google.com/lh/photo/yCt0Y68IaY9MGMRPCUFtPg?feat=directlink
Thank you!!!!
It was very helpful!:)
how can i create class diagram using sub-package of the class
Hi I wanted to create a clas diagram of a netbean project. I chose reverse engineer on the project and gotten the model then i chose my package and said new->diagram->clas diagram, but get blank screen. How can I create a class diagram for exisiting project. Anyone please help me. I spend two days figuring this thing out.
I have NB 6.9.1. I’ve installed the UML plugin but it fails to make reverse engineering (create UML class diagram from existing source).
I didn’t want to downgrade to 6.7, so I installed ArgoUML tool.
In order to generate class diagram from existing source you need to follow next steps:
* File->Import Sources
* Change the Files of Types to “All Files”
* Select the directory (where the *.java files are stored) or packages
* A small dialog window pop up –> select OK
* On the left hand side, you will see UntitledModel. Click on the _classes and they should occur in right in the diagram as little boxes.
* To show the attributes/methods, point a class (in the diagram), right click the mouse, select Show–>”Show All Compartment”
Thanks A Lot Bakhtiyor, it worked for me.
“Reverse Engineer” worked for me on 6.9 (Build 201011082200). I installed the plugin manual using the steps given by Bakhtiyor
“Reverse Engineer” didn’t work for me for a small existing project in NB 7.0.1. No model or diagrams were created π¦
But for all that thx for this solution!
regards