NetBeans 6.9 is Available

After bug fixing period NetBeans 6.9 final build is available. You can download it as usual from NetBeans site. What is new, you can read in this document and also you can watch some new features in NetBeans 6.9 Overview video.

 If you use the IDE just for PHP development, I recommend to use the PHP distribution. If you run in to an issue with NetBeans 6.9, enter the issue to our database to be fixed in patch release.

Yesterday there was closed a poll "What language do you plan to use for your next project?". 8232 users answered the poll and PHP has second place (32 %) that is nice result.


Great! I've just found that Smarty plugin is available at the official list. Double great!

Posted by Pawka on June 16, 2010 at 05:01 AM CEST #

Peter, could you announce such pools on mail list, please? I didn't know about it

Posted by Pet on June 16, 2010 at 05:33 AM CEST #

It would be great to get PHP-related changelog between this version and a previous stable release.

Posted by Sam on June 16, 2010 at 05:52 AM CEST #

Second place with 32% is great! (i am one of those 8232). Does it influnce the roadmap of Netbeans?

Posted by Jozef on June 16, 2010 at 06:11 AM CEST #

Well, I was going to get all excited, but then the IDE locked up on the "Formatting" tab of the Editor options. Admittedly it was "Scanning Projects" at the time, so I'm going to give it 15 minutes to see if it will sort itself out.

Not a fantastic start, hope it's just a hiccup :(

Posted by Denyerec on June 16, 2010 at 07:47 AM CEST #

10 minutes later, it's finished scanning and the dialog is open and dayum, the new formatting options are lovely!

Excellent stuff!

Posted by Denyerec on June 16, 2010 at 07:52 AM CEST #

6.9 looks great so far, didn't much like the constant updating external sources but can be disabled easily enough...

Guess I am a little late on hearing this but just found out Oracle aquired sun... I am curious how/if this will affect netbeans php?

Posted by Kevin B. on June 16, 2010 at 08:02 AM CEST #

@Pet: At first I wanted to publish the poll here, but then probably it probably will not reflect the reality. So I have decide not do it.

@Jozef: Yes, it can influence the plan of NetBeans 6.9.Next. At least it shows that the PHP developers is not minority of NetBeans users and the PHP development should be actively supported.

Posted by Petr Pisl on June 16, 2010 at 08:05 AM CEST #

Sadly, 6.9 (and the daily builds for the last 2-3 weeks) introduced this annoying "checking for external changes" which HAS to be disabled for even trying to work with the IDE. So now we lose a nice feature which worked flawlessly in 6.8, and now have the same behaviour as Eclipse... why? :(

Even when disabling this, the IDE becomes unusable after a few minutes working (the java process continuously runs @ 100% cpu without doing anything noticable) and one has to restart every few minutes.

We are working with a quite large PHP project using Zend Framework and Doctrine.
No problems with 6.8 whatsoever.

What did happen after the first 6.9 RC1? The daily builds before that were working quite well (except these annoying parser exceptions popping up now and then of course).

Waiting for "the big fix"...

Posted by kuhliefumden on June 16, 2010 at 12:50 PM CEST #

running Sun JRE x86 (latest) on Ubuntu 9.10 and 10.04 (doesn't matter) with -J-Xmx1024m

Posted by kuhliefumden on June 16, 2010 at 12:53 PM CEST #

@kuhliefumden : Similar experience here after day 1. Reverted back to 6.8 until 6.9 is patched and made ready for work.

Posted by Denyerec on June 17, 2010 at 03:10 AM CEST #

@kuhliefumden and @Denyerec: Could you provide a few thread dumps, when the IDE consume 100 % of CPU. We need to evaluate it. Also could you try to run the ide with this option: -J-Dnetbeans.indexing.recursiveListeners=false

>So now we lose a nice feature which worked >flawlessly in 6.8, and now have the same behaviour >as Eclipse... why? :(

I don't understand, which feature do we lost? External changes well discussed long time ago. The guys from core infrastructure add this functionality this release. If it doesn't work as expected, I need to have evidence to convince them that there is something wrong. You can help me with this.

Posted by Petr Pisl on June 17, 2010 at 04:08 AM CEST #

Now trying the command line option:

This totally worked! Amazing!

Now running "top" literally does consume more CPU cycles than Netbeans ;)

Now 6.9 is responsive like never before.

Thanks very much!

my current complete command line is:
netbeans_default_options="-J-client -J-Xss2m -J-Xms384m -J-Xmx1024m -J-XX:PermSize=32m -J-XX:MaxPermSize=512m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Dnetbeans.indexing.recursiveListeners=false"

Posted by kuhliefumden on June 17, 2010 at 04:34 AM CEST #

As it seems for me 6.9 is a failure.
It scans and scans. Even when I close the project it continues scanning.
The ScanOnDemand plugin in 6.8 also doesn't seem to work.
6.9 is just driving me crazy.

Posted by Daniel Dimitrov on June 17, 2010 at 04:55 AM CEST #

Bad news :(

The point when the IDE hogs up the CPU was only delayed (using the aforementioned command line) :(
Now after about 30-45 minutes the IDE has to be restarted in order to _be able to do_ anything.

Still waiting for the "big fix" :(

Posted by kuhliefumden on June 17, 2010 at 11:39 AM CEST #


try fresh userdir and disable third-party plugins like Smarty for example

Posted by Pet on June 17, 2010 at 12:21 PM CEST #

- no third party plugins whatsoever (vanilla 6.9 PHP version)
- fresh user directory

no improvements \*sigh\*

Posted by kuhliefumden on June 18, 2010 at 03:59 AM CEST #

@kuhliefumden: Could you send me thread dumps when it consumes 100% of cpu? Run NB from commnad line and then create thread dumps. How to obtain thread dumps is describe here: .

It would be very helpful. Do more then just one and send to me ( Thanks very much.

Posted by Petr Pisl on June 18, 2010 at 04:21 AM CEST #

@Daniel: Could you look at the and how is set test folder? Is it test ok?

Posted by Petr Pisl on June 18, 2010 at 04:35 AM CEST #

@kuhliefumden: I have talked with guys from platform and they claim that the problem is fixed and it will be available in NB 6.9.1 patch release. Now it's available in dev build. Could you try the dev build. Start it with different user dir (--userdir switch). Thanks very much for your help

Posted by Petr Pisl on June 18, 2010 at 04:57 AM CEST #


(Custom) code templates are broken. They don't expand correctly. This behavior started when switched to 6.9.

This is my code template, for function documentation, that used to work in 6.8:

\* ${cursor}
\* @param
\* @return

In 6.9 it expands to:



As you see, it misses lines, something happens, don't know exactly.

Thank you!

Posted by soso on June 18, 2010 at 06:37 AM CEST #

tried with NetBeans-dev-2010-06-18_03-03-59-php build and still hogging CPU cycles after about 15-30 minutes. no improvement :(

some more details about the PHP project:
- SVN with externals (2 libraries included this way)
- hundreds of classes, heavy OOP with inheritance
- zero (!) problems when working with Netbeans 6.8
- developer OS: ubuntu 9.10, 10.04 (x86, x64), MacOSX, 3-4GB RAM each, all having problems. seems to be the kind of project causing the slowdowns.

Posted by kuhliefumden on June 18, 2010 at 08:37 AM CEST #

@soso: This bug seems to be a duplicate of:

Posted by Mike on June 18, 2010 at 10:53 AM CEST #

Loving netbeans php

Posted by David Tan on June 18, 2010 at 10:58 AM CEST #

Well this netbeans 6.9 made me and my company team switch from eclipse PDT 2.2 ( 3 year PDT users ) . You did a really good job with php completion and build-in symfony support.
I tried for the last week one of the last dev build and didnt noticed any 100% cpu use althought i let it run for days and i let the external change on as it doesnt bother me yet.

Posted by xplo on June 18, 2010 at 12:22 PM CEST #


i am software developer from Poland. I don't know where to go. Really.

I am down on my knees and I am begiing for help. I need a netbeans platform for ColdFusion. I am using CFEclipse but this doesn't want to work properly.

I need help in building ColdFusion plugin. I was trying very very hard to do this by myself. Now I am nowhere.

I want to beg some developer to help me with that. I can provide any logic, any information the whole work arround but I can't build this together.

Please help me.


Jaroslaw Krzemienski

Posted by jmail on June 18, 2010 at 04:40 PM CEST #

@soso: It can be problem with a format option. Do you have change a format option? If yes, which one? I'm asking, because I'm not able to reproduce it with the default options. It would be best to enter a bug against the formatter and indentation.

@kuhliefumden: To find the problem I need a few threat dumps when the CPU consumes 100%. Please, could you file a bug and we can discuss it there. We need some input data and when I recognize that the problem is in platform I need clear evidence. Thanks for your help.

Posted by Petr Pisl on June 21, 2010 at 06:18 AM CEST #

@petr: will do that wednesday, when i'm back at work. looking forward to finding this nasty bug.

Posted by kuhliefumden on June 21, 2010 at 11:43 AM CEST #

@Petr, sent you an email with additional details on code templates issue.

In the meantime will revert to 6.8, 6.9 introduced too many problems, it doesn't stop scanning even though I disabled it. And continuously eats 50% of my CPU.

Posted by soso on June 22, 2010 at 03:16 AM CEST #

@kuhliefumden: Thanks, I'm waiting:)

@soso: Thanks, I will communicate the next steps thought the email.

Posted by Petr Pisl on June 22, 2010 at 04:27 AM CEST #

Hey, it's me again.
As requested, here is the thread dump with Netbeans 6.9 hogging 100% CPU: (69KB)

Posted by kuhliefumden on June 23, 2010 at 05:08 AM CEST #

This version's autocompletion in a ZF project is useless... 20 seconds to search?!?!?! OMG!
Seems like from all slow java engine ides now the guys from jetbrains leading with a very nice product(phpstorm) even if it's not free.
I hope the ide's made in c/c++ like phpdesigner, phped will be more full feature like these extremely slow java ides cause im working every day with a lot of editing in a project with 4000+ files.
Anyway, ill try Aptana 3, seems they learned from the past and made a faster ide.
PS: This version of Netbeans is final? funny, more like alpha or beta

Posted by TripSol on June 24, 2010 at 02:25 PM CEST #

We still using 6.7, because of 100% cpu load after 5 minutes of working with 6.8 and 6.9 versions of netbeans.

Posted by dariusz mecinski on June 27, 2010 at 04:39 AM CEST #

Cant believe the scanning in 6.9.
It is a neverending story. I'm reverting back to 6.8

Posted by Kees on June 27, 2010 at 01:06 PM CEST #

\*\*\*Refactoring\*\*\* (include rename variable) not work

Posted by Agus Suhartono on June 28, 2010 at 05:02 AM CEST #

@TripSol: Could you please profile the invoking cc and send me the result file? Or enter a bug and attach the file there. How to easily profile the problem I described here:

@dariusz mecinski and Kees: please try to profile during the scanning and file a bug. It's open source and the bulk of testing is up to the community. Help us.

Posted by Petr Pisl on June 28, 2010 at 08:27 AM CEST #

@kuhliefumden: Thanks for the snapshot. Could you provide more of them? This looks like a problem in resolving types. It would be good to have more samples. Which php framework do you use? Could we access your project?

Posted by Petr Pisl on June 28, 2010 at 08:30 AM CEST #

@Agus Suhartono: Do you mean instant rename? How do you invoke the rename?

Posted by Petr Pisl on June 28, 2010 at 08:40 AM CEST #

@kuhliefumden:I have added the snapshot here: . Thanks for it

Posted by Petr Pisl on June 28, 2010 at 08:45 AM CEST #

@Petr Pisl:
On NB 6.8,
i can put cursor on variable, then i right click and select rename menu, so if i change the varible name then all variable name will be changed.

on NB 6.9,
i not found Rename menu on context menu, but there are Refactor that have submenu Rename, Copy, Move, etc. All sub menu can't work. If i try rename will be show dialog "The rename refactoring cannot be applied in this context."

Posted by Agus Suhartono on June 29, 2010 at 06:37 AM CEST #

I'm also running into the same problem involving the rename variable feature which i used to love! Love! LOVE! Now it seems to show the refactor menu which does not seem to apply variable/method/function renaming in the same context as it used to do. What gives? Fix it please!

Posted by Robert Kraig on June 29, 2010 at 11:58 AM CEST #

I've added several dumps to this bug report:

Posted by Daniel Dimitrov on July 01, 2010 at 04:16 AM CEST #

Unfortunately I've gone back to 6.7 as it seemed to be the most stable release. Please focus on stability! 6.8 and 6.9 have caused me lost work and too much thumb twiddling..

Posted by Colin Mollenhour on July 02, 2010 at 11:46 PM CEST #

+1 on rename refactoring bug.

Posted by Antonio Pironti on July 06, 2010 at 05:42 AM CEST #

Regarding the instant rename feature (for PHP), it can still be activated by hitting CTRL+R, just the context menu item has been removed.

Posted by Jack Sleight on July 07, 2010 at 05:47 AM CEST #

Although the instant rename feature (CTRL + R) works, i think that the context menu item should not have been removed. In any case, a user should not be able to access a feature only using a shortcut.

Posted by Antonio Pironti on July 07, 2010 at 07:27 AM CEST #

@kuhliefumden: #187989 was hopefully fixed by fixing

Please, verify to be able to fix it also for 6.9.1

Posted by Radek Matous on July 16, 2010 at 09:10 AM CEST #

[Trackback] I use Netbeans for just about all of my editing on projects anymore.. and the latest version of 6.9 has had a problem I’ve been dying to get fixed for a while. I’m primarly a PHP programmer, so I’m not sure if the bug extends beyond t...

Posted by BiggieStylin on July 18, 2010 at 11:07 PM CEST #

I'm a PHP developer over linux plataform (Fedora12) I love the new fantastic code formatting options on 6.9 version, same about the option for import my settings from 6.8 version, very very nice thing!!.
It took me around 5 mins put all like charm :-)
But the java process, when this new version starts, its always at 100%, all the time!! even when i'm not doing anything. I have a good workstation so i can still work, but i think "100%-always-cpu" its not normal, ill use 6.8 version while this "little thing" is solved :(

Posted by Rodrigo Nieves on July 29, 2010 at 10:04 AM CEST #

@Rodrigo: How big is your project? Could you check the test path in project setting?

Posted by Petr Pisl on July 29, 2010 at 10:40 AM CEST #

@Petr Pisi
Im workin on 3 PHP small projects, but i note that i had another 3 php and 1 java old projects open. So i close them and the "100%-always-cpu" thing has gone... Specifically 2 of the old php projects has a huge number of pages (around 300-400)... when i open them, CPU usage go up. Now they are closed, every thing goes like a charm :) Thanks so much for tip ;)

Posted by Rodrigo Nieves on July 29, 2010 at 11:22 AM CEST #


Tried 6.9.1 on ubuntu. But scanning projects is taking way too long and it hangs my computer.

Do for me no NetBeans yet!!!!

Posted by dubbeltje on August 08, 2010 at 05:45 AM CEST #

I am loving it NetBeans IDE 6.9.1 for PHP development, web applications. Used for a long time spent at the Dreamweaver, Eclipse, most definitely, I'll stick with NetBeans. great

In the listing of projects (Ctrl + 1) files are not updated automatically, unless the user right-click the folder, and then click Refresh Folder or closing the NetBeans and opening it again.

I wonder if this is happening just me.

I love NetBeans, congratulations.

Posted by Yonatha Almeida on August 12, 2010 at 08:36 AM CEST #

for me -J-Dnetbeans.indexing.recursiveListeners=false worked to with the 100% cpu-stuff (netbeans 6.9.1 with php only and winxp), but I had to close the project, restart netbeans and reopen the project. In addition I have -J-XX:MaxPermSize=1024m -J-XX:MaxPermSize=512m

Posted by Marc on November 11, 2010 at 07:44 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed

This blogs is written by NetBeans developers who contribute to the PHP support mainly.


« July 2016