Questions tagged [netbeans]

NetBeans refers to both a platform framework for Java desktop applications, and an integrated development environment (IDE) for developing with Java and other languages.

Introduction

From the official "NetBeans IDE Features" page:

NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and web applications, while also providing great tools for PHP and C/C++ developers. It is free and open source, and it has a large community of users and developers around the world.

Features

From the official "NetBeans IDE Features" page:

Best support for the latest Java technologies

The NetBeans IDE provides first-class, comprehensive support for the newest Java technologies and latest Java enhancements before other IDEs. It is the first IDE providing support for JDK 7, Java EE 6, and JavaFX 2.

With its constantly improving Java Editor, many rich features and an extensive range of tools, templates and samples, NetBeans IDE sets the standard for developing with cutting-edge technologies out of the box.

Fast & smart code editing

An IDE is much more than a text editor. The NetBeans Editor indents lines, matches words and brackets, and highlights source code syntactically and semantically. It also provides code templates, coding tips, and refactoring tools.

The editor supports many languages from Java, C/C++, XML and HTML, to PHP, Groovy, Javadoc, JavaScript and JSP. Because the editor is extensible, you can plug in support for many other languages.

Easy & efficient project management

Keeping a clear overview of large applications, with thousands of folders and files, and millions of lines of code, is a daunting task. NetBeans IDE provides different views of your data, from multiple project windows to helpful tools for setting up your applications and managing them efficiently, letting you drill down into your data quickly and easily, while giving you versioning tools via Subversion, Mercurial, and Git integration out of the box.

When new developers join your project, they can understand the structure of your application because your code is well-organized.

More information on Project Management
More information on Versioning

Rapid user interface development

Design GUIs for Java EE, Java SE, and Java ME applications quickly and smoothly by dragging and positioning GUI components from a palette into the NetBeans Editor.

For Java SE applications, the NetBeans GUI Builder automatically takes care of correct spacing and alignment, while supporting in-place editing, as well. The GUI builder is so intuitive that it has been used to prototype GUIs at customer presentations.

More information on Java EE
More information on Swing GUI Builder
More information on JavaME

Write bug-free code

The cost of buggy code increases the longer it remains unfixed. NetBeans provides static analysis tools, especially integration with the widely used FindBugs tool, for identifying and fixing common problems in Java code. In addition, the NetBeans Debugger lets you place breakpoints in your source code, add field watches, step through your code, run into methods, take snapshots and monitor execution as it occurs.

The NetBeans Profiler provides expert assistance for optimizing your application's speed and memory usage, and makes it easier to build reliable and scalable Java SE, JavaFX and Java EE applications. NetBeans IDE includes a visual debugger for Java SE applications, letting you debug user interfaces without looking into source code. Take GUI snapshots of your applications and click on user interface elements to jump back into the related source code.

More information on Debugger and Profiler

Support for multiple languages

NetBeans IDE offers superior support for C/C++ and PHP developers, providing comprehensive editors and tools for their related frameworks and technologies. In addition, the IDE has editors and tools for XML, HTML, PHP, Groovy, Javadoc, JavaScript, and JSP.

Cross-platform support

NetBeans IDE can be installed on all operating systems that support Java, from Windows to Linux to Mac OS systems. Write Once, Run Anywhere, is as true for NetBeans IDE as it is for your own applications... because NetBeans IDE itself is written in Java, too!

Rich set of community-provided plugins

The NetBeans community is large and active; many users are developing new plugins all the time because NetBeans IDE is extensible and has well-documented APIs. Are you missing a feature in NetBeans IDE? Create a plugin that fills the gap and participate in making NetBeans even better than it already is!

Visit NetBeans Plugin Portal

Version information

  • Current Release version: 16

Tag recommendations

If your question is version-specific, use the tag together with an appropriate version-specific tag, such as , , , , , , , , , , , , or .

Useful links

24163 questions
6
votes
1 answer

Comparing c# , c++ and java performance ( Strange behavior of c# )

i am implementing Floyd–Warshall algorithm with c++ , c# and java. in each language i use sequential and parallel implementation after testing the result was : (Elapsed time is only for main Function and Reading Files , Inti of Variable and ... are…
user4186207
6
votes
1 answer

Netbeans Radar Plugin Configuration

I'm using Netbeans 8.0.1 and I need to run and check SonarQube analysis from my IDE before commiting to SVN. I have installed the plugin Netbeans-Radar plugin for launch local analysis and check de results. This plugin has an option called "Get…
ARIS
  • 342
  • 3
  • 11
6
votes
1 answer

Netbeans and Bad service configuration file, or exception thrown while constructing Processor object

Here a error getting from diagnostic throught javaCompiler taska: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider…
6
votes
1 answer

maven assembly - jar misses own classes

I want to create a jar file from a maven project. I need to use an own assembly.xml because I need to exclude a few .so files: assembly.xml
user1406177
  • 1,328
  • 2
  • 22
  • 36
6
votes
2 answers

importing netbeans android project into android studio

I used to work on a project on netbeans which turn out to be the least intuitive IDE for android, now trying to switch to android-studio I can't manage to find way neither to export properly the netbeans project nor importing the netbeans project…
enissay
  • 300
  • 3
  • 13
6
votes
2 answers

System.console() gives a NullPointerException in NetBeans

I have the following problem: method readLine() or nextLine(), nextInt(), etc. throw an exception: NullPointerException. I use the NetBeans IDE (if it matters). public static void Reading() { String qq; qq = System.console().readLine(); …
Maxim Gotovchits
  • 729
  • 3
  • 11
  • 22
6
votes
2 answers

JavaEE in netbeans giving BUILD FAILED error upon deployment

When I try to run my Java EE program in Netbeans consisting of servlets (java pages), JSP's, beans(java pages) and HTML pages I get this error in the output: In-place deployment at…
Derek
  • 4,985
  • 4
  • 20
  • 9
6
votes
1 answer

Cannot run iReports 5.6.0 with Netbeans 8 and JDK 1.8

I have installed Netbeans 8 with JDK version 1.8. I recently downloaded iReports 5.6.0 for the creating reports. After installation the program doesn't open. There is an error saying Cannot find Java.exe Neither (null)\jre\bin\java.exe nor…
FireDrakon
  • 275
  • 2
  • 6
  • 19
6
votes
3 answers

Avoiding Netbeans documentation pop up window when editing code

This info window you see down here appears every time some CSS property or HTML attribute is written. The one on the top contains documentation about that element, and I dont want it to appear as it is very annoying when coding. How can I make it…
Biomehanika
  • 1,530
  • 1
  • 17
  • 45
6
votes
11 answers

How to solve error java.lang.NoClassDefFoundError at the time of installing netbeans8 in debian

I am trying to install netbeans 8 in debian-7.0-amd64-minimal. (VPS) 1st I have installed java/JDK latest version (1.8.0_20) by following…
Tahmina Khatoon
  • 1,081
  • 3
  • 11
  • 29
6
votes
9 answers

Netbeans not opening in ubuntu

I have installed NetBeans 8 in /opt folder due to permission reasons. I created a symlink and worked in my local from the morning. Suddenly, now it's not opening. IT does not seem to be crashed but I don't know why. Any suggestions please
Ram Kumar
  • 91
  • 1
  • 1
  • 4
6
votes
5 answers

Eclipse vs Netbeans Web Service Tooling

Some time ago (~4-5months ago) I attented a lecture about Java EE and at some point the lecturer started talking about webservices and how hard it is to create a good one because all the IDEs make them in a bit different way (or something like that)…
Mateusz Dymczyk
  • 14,969
  • 10
  • 59
  • 94
6
votes
2 answers

Compilation error for annotations in Java using maven-compiler-plugin 2.5.1 with java 1.8 and netbeans

I'm newborn in writing anotations in Java. I was trying to write my own following this tutorial: Playing with Java annotation processing I wrote everything like it is there, but during compilation I'm getting an error: Bad service configuration…
JiangHongTiao
  • 858
  • 2
  • 8
  • 29
6
votes
2 answers

WARNING: Skipping entry because it is not an absolute URI. GlassFish in NetBeans

I successfully installed GlassFish. However, when I start a server, I get this two warning messages: WARNING: Skipping entry because it is not an absolute URI. What is that about ? Launching GlassFish on Felix platform Aug 09, 2014 10:38:38 PM…
Xerath
  • 1,069
  • 5
  • 17
  • 26
6
votes
1 answer

Error : no viable alternative at input 'for' Python

I have strange problem, when i am using Netbeans IDE , this line : total_stock = {items : 0 for items in product_stock} causes syntax Error: Syntax Error : no viable alternative at input 'for' But the same code runs perfectly fine in terminal…
Himanshu97
  • 541
  • 1
  • 9
  • 19