Configure NetBeans using Batch Files..

Well, we all know that although editing “{netbeans.home}\etc”\netbeans.conf is not a big deal for any developer, it certainly takes a toll, if you’re using daily builds. That means, everytime you download new build of NetBeans you will modify the configuration file to tune JVM switches as per your operating system.

Last year, when I participated in NetCAT 6.5, I had this problem, i.e. I did the same configurations again and again, every time I downloaded latest build. Recently, when I downloaded 6.7 RC1 to make use of Kenai and Hudson integration, few days later I got the notification of 6.7 RC2 and related CA survey. Today, I downloaded that too, but it makes me feel sick to do those configurations all over again.

CLI (Command Line Interface)

There are people who write many scripts to ease their work by automating some tasks. As I was not good at using CLI, as I am right now. So, I thought of giving it a try and I looked into the internet to learn some batch programming. After exploring for some amount of time, I have written a batch program to help me with the task and here’s what I got;

for /d %%X in (%1\NetBeans*) do edit "%%X\etc\netbeans.conf"


This batch program has got only the for-statement and this is where I look for NetBeans installation directories stored under the directory provided as a runtime argument denoted by %1 For instance, I have installed 6.7 RC1 and RC2 under C:\Program Files. So, I will make use of this batch program on CLI like this;

nbconfig "C:\Program Files"

Now, the batch program loops through this directory passed as a runtime argument and will look for the right installation directory by making use of NetBeans* as matching criteria. Once it finds the directories, it will loop each one of them, one-by-one and open the configuration file for editing.


That’s the benefit that you just have to pass the directory (under which such directories could be found) and Windows will automatically open the configuration file for editing, if you feel its already edited before. Just perform action (Alt-F | Exit) to exit editor and to automatically switch over to the another configuration file.

There’s a limitation that if there are 10 installation directories under one directory (passed as runtime argument) and you have already made modifications to 6 of them, you will have to pass each one of them, before you could actually make modifications to the last 4.


You’re welcome to improve upon this and suggest changes to be made for benefit of the community. I think it won’t be difficult for Unix experts to write a shell script for the same, or probably come out with a better solution. Also, I have started to make use of Subversion using CLI (along with NetBeans support), interested readers can refer this blog for more info.

This blog has been contributed to NetBeans Community Docs Program and for latest updates on this content, refer to the contribution.

Hope that helps, stay tuned for more..

Voice of Community


You know what, Jiri Kovalsky made an announcement yesterday on nbusers mailing list. He has come up with an interesting initiative and invites you to take part in it. So, I have added the mail contents in this entry and you may read it as follows;

Hello NetBeans Community,

Did you know that more than half a million people are subscribed to mailing lists? It’s obviously a lot of feedback. In addition to that many people write about NetBeans via blogs, forums and other modern channels. We have implemented NetCAT programs 4 years ago to cover stabilization phase of NetBeans development. But we want more.

Today we are introducing a brand new process called Voice of Community. Our goal is to further improve the way we listen to our userbase and take the input even more seriously. However, since this initiative is about community, we are looking for 2 passionate community members who would cooperate on this with us. Let’s call them VOC Captains! 🙂

If you find this idea interesting, don’t hesitate and let us know about you  via an application form which is accessible from the Wiki page. The form will  stay opened until next Monday – 12/15.

Thank you very much,

Jiri Kovalsky
Technical Community Manager

So, are you the Voice of Community?

QA says, “Thank you very much”

Few days back, J. O’Conner blogged about his recent experience with the NetBeans Community, and calling himself a proud member.

I’ve always known that I’m a NetBeans user, but I would never have gone so far as to call myself a community member. I feel differently after this experience though. I’m glad to be part of the NetBeans community. If you use NetBeans, you’re part of the community too!

Wow 🙂 Later that day, I got an email from NetBeans QA Team and I also had similar experience. Here’s what QA said,

In the past you have taken the time to report issues that you encountered while using the NetBeans IDE. As you may be aware already, a new version NetBeans IDE 6.5 has just been released.

We’d like to inform you that the following issues you reported have been addressed in the new version;

Aug 28, 2008

Three months back, I had blogged NetCAT 6.5 Weekly Report #6, where I had said,

Actually, when bugs filed by a user get fixed, they are not visible in My Issues, which is different for every user.

Nov 25, 2008

This day, when I received the mail and found out that, NetBeans QA Team had fixed 8 bugs filed by me during the development phase of NetBeans 6.5 and NetCAT Program.

We really appreciate your contribution to help us make NetBeans IDE (Platform, Java SE, Java Web and EE, Java ME, Ruby, C/C++, PHP, SOA) better for you as well as for other users. We look forward to receiving feedback from you in the future.

Wow, thats indeed a great way to notify the user, I mean community member. Happy NetBeaning!

“Thank you very much”

NetCAT 6.5 Weekly | Final Report

Development Simplified, Once Again

Well, its on every blogosphere now, NetBeans 6.5 IDE has been officially released. Everyone have already given an overview of almost every feature. I thought of blogging something unique, as always 😉

NetCAT Ends..

Jiri Kovalsky, NetCAT 6.5 Coordinator mailed us today at the NetCAT mailing list, points are calculated and results are out. Here’s what he says,

Hello folks,

I am glad to announce that final CAT points were calculated and published including a detailed breakdown of activity for every NetCAT participant.

Now, let me announce our winners! I think it’s actually not a surprise for those of you who were reading my NetCAT status reports regularly. So, in the “Most helpful NetCAT 6.5 member” category I am happy to congratulate to the following 3 NetCAT participants:

1. Saptarshi Purkayastha, India   1519 (13.09)
2. Rajiv Perera, Sri Lanka        1495 (13.35)
3. Eric Smith, USA                 710  (6.12)

Wow, first two are too close. Hats off to Jirka for the calculations, and Saptarshi, Rajiv, Eric congratulations for being the Most Helpful Members.

My Score..

Well, as you have seen some astonishing figures. I am way too behind them. I earned 253 points with 2.18 efficiency. I had opted to focus on PHP support and Documentation. I am glad to see community is liking the PHP support and they are applauding the efforts of PHP Team.

If you are interested to see breakdown of my points, have a look at this page;

I have filed 16 Bugs, 1 RFE and sent 157 mails. I took part in Top 6.5 Annoyances survey, Community Acceptance survey and Satisfaction survey.

I finished at 13th position out of 60 participants 😀

Blogs Summary..

Now, that it has come to an end, I would like to share my blogs which I posted since NetCAT began, specifically related to NetCAT.

Weekly Reports

Issues, Debates


Thank You

I enjoyed every bit of it and it was a great experience. Also, special thanks to NetBeans Team as they listen to several debatable issues and are keen to resolve them in right manner.

NetBeans 6.5 boots with a b'day stamp on splash screen!

Here’s one instance, how they listen to community suggestions…

Get Trained and Assure Quality

Day 4- Certified Training, NetCAT and Decathlon

NetBeans Platform Certified Training

Get up to speed with the main NetBeans APIs and learn how to create a modular Swing application… by taking the NetBeans Platform Certified Training course. For universities and colleges, the course is free: a team of NetBeans trainers will visit your class and 3 days later you’ll be creating your own plugins and applications. Especially students interested in advanced Swing development techniques and in architectural designs for distributed applications should find this course very useful.

NetBeans Community Acceptance Testing program (NetCAT)

Since its inception in 2004 NetCAT has gained a lot of recognition and became very popular and respected project among both NetBeans Engineering and NetBeans Community. Timely evaluation and testing of new features on real projects with real data has significant impact on overall stability of the final product.

Featured Project- VirtualBox

NetBeans 10th Birthday Celebration Decathlon

To honor 10 years of the NetBeans project and community, we’ve selected ten events that anyone can participate in to be a part of the celebration. The first 300 participants to complete events that add up to 50 points will receive a limited edition NetBeans 10th Anniversary Shirt! In keeping with the spirit of community, these events are all based around various community activities and sites: blogging, forums, Facebook and more. So read on, pick out your favorite events and celebrate away!


  1. 10 events, each worth a different amount of points.
  2. Complete any number of events that tally up to 50 points.
  3. IMPORTANT: Keep track of links to blog entries, forums, and so on. You will need to submit these links in the Decathlon Entry Form.
  4. The first 300 participants to complete the Decathlon form will be eligible to receive a limited edition NetBeans 10th Anniversary T-shirt.
  5. There is no judging, so be creative, reminisce, and have fun!
  6. The Decathlon ends on Monday, October 27th, 2008.

Cheers 😉