nzc | 21 Dec 17:51 2014

Preinstalled PHP file templates missing in New File dialog

I was hoping that someone would have postet some good advice or a solution in the meantime ...

Am I really the only one here with this kind of problem?

MatthewSchenker | 21 Dec 17:48 2014

Can't Open PHP Files via FTP

I began using Netbeans this week, and I really like it a lot!  Just one issue...

When I try to open PHP files from my FTP app (FileZilla or FireFTP) I get a blank page.  Netbeans opens, but
there is no file there.  I'm sure I'm not setting something correctly, but can't figure out what.

Here's how I am accessing Netbeans in FileZilla:
Under Settings > File Editing, I have the following line in "Use custom editor":

Is there something I should be doing differently?


dav_sap | 20 Dec 14:47 2014

c++/cpp extension compilers

While programming in netbeans, I downloaded all the right compilers. C worked fine for me. But now that I
started working with c++, I realized that while opening a new source file c++ with the extension .cpp the
netbeans goes to the C compilers, and then can't find include such as etc. But when opening the file with the
extension .c++ the netbeans does go to the right directory and does recognize everything c++ related. Is
there any way to change that so that the extension .cpp will also go to the right directory? Thank You!

mcheung63 | 19 Dec 19:21 2014

which api can execute a maven goal for a specific project

Hi all
   which api can execute a maven goal for a specific project?
from Peter

Black Byte 9 | 19 Dec 10:58 2014

Methode to not show errors or warnings anymore


is there any possibility / plugin to hide some errors in a project?

I have a JavaScript file that is parsed through the Smarty template engine. I changed the delimiter for
smarty to something illegal in JavaScript. I want the JavaScript code-checking from NetBeans, so I saved
the file as file.js. But now the Smarty Tags create some Errors.

My solution-wish:
I would like to have a possibility to "waive" errors (This is a common function in electronic development systems)

That means, I can flag the error as reviewed and as the user I know what I'm doing there and don't want that
error to be shown anymore. (best would be to even give a comment)

Is there any plugin / possibility to do that in NetBeans?
I think I could write a PlugIn for that (if possible at all), but my time is rather limited at the moment :(

CORT0619 | 19 Dec 01:36 2014

connecting to 32bit access 2013

My machine is 64bit and I have created a database in 32bit access and I'm trying to use netbeans to create a
connection however, whenever I go to test the connection I get the following error message "Cannot
establish a connection to jdbc:odbc:customerdb using sun.jdbc.odbc.JdbcOdbcDriver
([Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the
Driver and Application)". I have searched and searched and nothing has helped. I have already navigated
to here: C:\Windows\SysWOW64\odbcad32.exe and created a system dsn. I have also installed 32 bit java
jdk and changed netbeans_jdkhome to reflect the 32 java jdk but then the jdbc-odbc bridge driver
disappears in netbeans.

Glenn Holmer | 20 Dec 17:07 2014

specifying PDF viewer in Kubuntu 14.10

I found a little anomaly concerning how NetBeans selects the PDF viewer
to use when double-clicking a PDF from within NetBeans (or viewing the
keyboard shortcuts card from the Help menu).

I'm running KDE (Kubuntu 14.10), and have okular (a KDE program) set as
the PDF reader for application/pdf. But when I open a PDF from within
NetBeans, it uses evince (a GNOME program). I think I found out why: I
have some GNOME applications installed, and /etc/gnome/defaults.list
specifies evince (maybe NetBeans is looking there first?).

In any case, if this is happening for you, here's what worked for me.
Since I don't seem to have a GNOME settings editor, I tweaked it by
hand: the file evince.desktop is found in /usr/share/applications;
there's an okular.desktop in /usr/share/applications/kde4. Copy the
okular.desktop to /usr/share/applications, then edit
/etc/gnome/defaults.list and change the "application/pdf" line from
evince to okular, and restart NetBeans. Hey presto!


Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe." | 19 Dec 09:53 2014

Problem with the debugger formatter. How to import libraries into the debugger context?

Ok Benno, thanks in any case for the answer.
I'm trying to solve my problem "manually" but I have some other problems due to inexperience.
I found the module that do the debug (org.netbeans.modules.debugger.jpda) the class of interest is JPDADebuggerImpl and the method that I would like to change by myself is getFormattedValue(...) .
I downloaded the source code of Netbeans using mercurial from this address (is it the correct one?)
After the download the destination folder contains various modules. I opened the debugger one and made a simple change (just a println to see if it works). Now how can I compile this module and execute it into netbeans?   

----Messaggio originale----

2014-12-15 17:32 GMT+01:00 giutino <at> <giutino <at>>:
In my case I need that the formatter uses an external library

Oh.. I am not sure, whether the classpath context contains the external libraries, so that you can use it...

With kind regards, markiewb

re20876 | 18 Dec 11:45 2014

Some input files use unchecked or unsafe operations. for netBean 6.91

under netbeans 8.0.2 I did:

select: Tools -> Options -> Java

insert in the field "Properties":

and click OK
that's it


re20876 | 18 Dec 10:45 2014

Netbeans compilation issue

Hi Devon,

you are here telling a story. I am using netbeans 8.0.2 and there is no such thing as:

Go to the [b]Compiling section[/b] (?) of the [b]Project Properties[/b]. These is a check box labeled
[b]"Report use of deprecated API"[/b]. Checking that will turn on -Xlint. 

I still have no clue how really to turn Xlint:deprecation on.


vince stewart | 18 Dec 23:17 2014

evaluate-by-hover functionality not active debugging "default" method

Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_NZ (nb)

Hi, a small problem has emerged with the advent of "default" methods in Java

when doing line-by-line debugging, if you step into some "default" method
code, you lose the ability to display the value of a variable by hovering
the cursor over the variable name. The same applies to an expression
deliniated by a text selection. No error is displayed.

The various contextual values are maintained and viewable in the variables

This evaluate-by-hover functionality returns to normal when you step out of
the "default" method back into a method that is not another "default"

View this message in context:
Sent from the Netbeans IDE Users mailing list archive at