NetBeans IDE is a modular, standards-based integrated development environment (IDE), written in the Java programming language. The NetBeans project consists of an open source IDE written in the Java programming language and an application platform, which can be used as a generic framework to build any kind of application.
NetBeans IDE 6.0 supports the following technologies and has been tested with the following application servers. If you plan to use versions of JBoss, WebLogic, or Struts other than those explicitly listed, please note that you may encounter unpredictable IDE behavior as a result of the technologies being external interfaces which the project team has little or no control over.
Note: If you are using the GlassFish application server, note that it is recommended that you run GlassFish V2 in order to work with NetBeans IDE 6.0.
NetBeans IDE runs on operating systems that support the Java VM (Virtual Machine) and has been tested on the platforms listed below.
Note: The IDE's minimum screen resolution is 1024x768 pixels.
NetBeans IDE is also known to run on the following platforms:
Note: While the above system requirements apply to most configurations of the IDE, some areas of NetBeans Web and Java EE support are particularly demanding on system resources, especially when used in combination with various application servers. For best results when developing Web and Java EE applications, make sure that your system meets at least the recommended system requirements.
NetBeans IDE runs on the J2SE (Java SE Development Kit) JDK 5.0 Update 12 and higher (including JDK 6.0), which consists of the Java Runtime Environment plus developer tools for compiling, debugging, and running applications written in the Java language.
When you first run the IDE, you can import a subset of the settings you used in NetBeans IDE 5.5. If you choose not to import settings from a previous release, the IDE opens using the default settings.
Note: The IDE only recognizes previous installations where the user directory resides in the default location. It does not recognize installations where you have specified a user directory using the
--userdir
switch. If you would like to import settings from an IDE that the installer does not recognize, download an archive version of the IDE instead of using the installer.Note: If you edit the Project Properties for a project that was created in NetBeans IDE 4.1 or earlier in NetBeans IDE 6.0, the project will no longer work in the earlier NetBeans IDE versions.
There have been changes made to Visual SQL Editor and database functionality in NetBeans 6.0. They are as follows:
NetBeans 6.0 has been tested with the following databases and drivers.
Driver |
Version |
Example URL |
---|---|---|
JavaDB | Derby 10.3.1.4 | jdbc:derby://localhost:1527/sample <
(Network) |
Oracle | Oracle Database 10g Release 2 (10.2.0.3) | jdbc:oracle:thin:@//localhost:1521:ora9i
|
PostgreSQL | 8.2 Build 506 | jdbc:postgresql://jbrave-pc1.sfbay.sun.com:5432/postgres |
MySQL | MySQL Connector/J 5.0.7 | jdbc:mysql://localhost:3306/sample |
The following drivers and databases have not been formally tested, but should work based on experience.
Driver |
Version |
Example URL |
---|---|---|
Microsoft | Microsoft SQL Server 2005 JDBC Driver 1.1 | jdbc:sqlserver://localhost:1433;databaseName=travel;selectMethod=cursor |
IBM | Redistributable DB2 JDBC Type 4 driver v8 fixpack 13 |
jdbc:db2://localhost:50002/sample |
jTDS | jTDS 1.2.1 | jdbc:jtds:sqlserver://rave-cheetah.sfbay.sun.com:1433/travel |
DataDirect | DataDirect Connect for JDBC - 3.6 DataDirect Connect for JDBC - 3.6.07 |
jdbc:datadirect:oracle://localhost;SID=ora9i jdbc:datadirect:sqlserver://localhost:1433;DatabaseName=travel;SelectMethod=cursor jdbc:datadirect:db2://localhost:50002;databaseName=sample |
The unresolved installer issues for this release are as follows:
Description: If you have NetBeans IDE 6.0 Preview (M9) and Release Candidate 1 installed simultaneously, you may encounter problems when uninstalling the M9 build. For reference, see Issues 102287 and 104852.
Workaround: Before installing NetBeans IDE 6.0 Release Candidate 1, uninstall NetBeans IDE 6.0 Preview (M9).
Description: On Solaris and Linux platforms, if the network connection is lost, installation hangs when the installer is searching for a compatible JDK in network directories.
Workaround: Restore the network connection and proceed with the installation.
Description: On Macintosh platforms, if you are using only JDK 6.0 you may experience some installation problems because this JDK version is not of FCS quality. The preferred JDK for the Mac OS is 1.5.0_07.
Description: The installer appears as the blank/grey dialog when running on Ubunty with Beryl/Compiz/Compiz Fusion
installed.Workaround: Execute the export AWT_TOOLKIT=MToolkit command before running the installer.
Description: Installation stops with error during execution of the unpack200 command. This error can be caused by the Logitech Process Monitor (Webcam Effects Helper) application.
Workaround: If you have Logitech Process Monitor (Webcam Effects Helper) application (LVPrcSrv.exe) that is running on your system, switch it off before installation or uninstallation.
The unresolved issues for this release are as follows:
Description: On certain Solaris x86 and Dual Core Opteron configurations, you may encounter problems starting the IDE due to a JDK bug with loading GTK
look&feel
libraries.Workaround: If you encounter this behavior, specify the following command line option: -laf javax.swing.plaf.metal.MetalLookAndFeel
Description: When running the IDE with some Asian locales on Ubuntu 6.x and some other Linux distributions, the IDE's screen text may become unreadable. On certain Linux distributions multi-byte characters may display as a rectangle due to JDK font setting issues.
Workaround: Because there is no known workaround for this issue, it is recommended to use an alternative Linux distribution if you must use a locale subject to this behavior. Note that this problem does not occur on Ubuntu 7.x, Red Hat Enterprise Linux 3.
Description: Network communication broken on Linux with IPv6 enabled, preventing the IDE from connecting to bundled servers, Auto Update, etc.
Workaround: If this happens, run the IDE using the
-J-Djava.net.preferIPv4Stack=true'
switch. Alternatively, disable IPv6 (in /etc/modules.conf or /etc/modprobe.conf).For more information see: Issue #5087907.
Description:When profiling an application, the profiled application may crash when you attempt to take a memory snapshot.
Workaround: Start the application you want to profile with the -Xnoclassgc switch.
Description: When running the IDE on Solaris with JDK 6, 6u1 or 6u2, threads may become blocked for a long time and cause the editor to be unresponsive.
Workaround: Upgrade your JDK 6 installation to Update 3 or newer.
Description:When running on JDK 1.6, profiling an application with dynamic attach mode can lead to the profiled application crashing.
Workaround: Start the application you want to profile with the -Xshare:off switch.
Also see: Issue #113847.
Description:The NetBeans IDE hangs when you change the file extension from Schliemann non-supported file to supported in Navigator. For instance, when you reanem x.txt to x.jsp.
Workaround: Will be included in patch.
Description: Projects created in NetBeans can not be run in Japanese and Chinese Linux locales with JDK 6 installed.
Workaround: Use JDK 5.0 or run projects from English locale.
The unresolved Web and Java EE issues for this release are as follows:
Description: The Visual Web JSF Backwards Compatibility kit provides supplemental libraries that are required by the Visual Web designer to support projects that are based on J2SE 1.4 or J2EE 1.4. These libraries are not open source and are therefore distributed as a separate NetBeans plugin. The kit will install the following libraries that are required for J2EE 1.4 projects:
To get the Backwards Compatibilty Kit, in the main menu, choose Tools > Plugins.
Description: Woodstock 4.1 JSF Components Release Notes are located on the Project Woodstock web site, at https://woodstock.dev.java.net/source/browse/*checkout*/woodstock/doc/release-notes.html. The build shipped with NetBeans IDE 6.0 is build 11.
Description: Intermittent error, in which the IDE does not write the file, and eventually returns Source File Errors.
Workaround: No workaround.
Description: If NetBeans is running on JDK 1.6.x then Glassfish must be running on JDK 1.6.x. If GlassFish is running on an earlier JDK, deployment fails with a java.lang.UnsupportedClassVersionError.
Workaround: No workaround.
Description: Projects with custom themes migrated to NetBeans IDE 6.0 will produce Missing Body Element errors.
Workaround: Manually switch to the default theme before migrating. Custom themes will not work and will need to be rebuilt.
Description: It is not possible to use JSF Pages from the Entity Class wizard to generate JSF pages.
Workaround: No workaround. This functionality is currently unavailable in this release.
Description: In NetBeans IDE 6.0, the Add Menu item is disabled in the Navigator window and there is no functionality for editing the properties through source packages.
Workaround:
- Double click SessionBean1 (or other java file) to open the bean in the Java editor.
- Manually add the property, such as private String CustomerId;.
- Right click on the property and choose Generate Code.
- From the Generate popup menu, select Getters and Setters.
In the Generate Getters And Setters dialog for SessionBean1, select your property and press OK.
Public Getter and Setter methods are inserted after your property.
Description: Due to a change in Woodstock components, resize handles have been removed from the following Woodstock components: TextField, TextArea,PasswordField, DropDown and ListBox. This issue impacts especially projects imported from Java Studio Creator and NetBeans Visual Web Pack 5.5/5.5.1. Resized components may look different from how they looked in previous releases.
Workaround: For TextField and TextArea components, use the columns and rows attributes, respectively. DropDown and ListBox components are automatically resized to the size of the longest item by the browser.
Description: When a button is placed using absolute positioning, its width is incorrect. For example, when NetBeans IDE 6.0 uses absolute positioning to place components in Grid Layout Mode, this problem may occur.
IE7 expects a value to be specified for the width of buttons. If a width attribute is not specified, the width is set to width:auto, which results in the button's width being set to the entire available width of the button's container element. For example, if the button style has left=130px then the button will start at 130px left and will expand to the width of the <body> element.
Workaround: There are several different ways to solve this issue in NetBeans:
- Specify the width property for the button, or resize the button in the IDE to make the IDE assign a width to the button.
- In the IDE, drop the button into a Group Panel component to put the button inside a span tag. In this case there is no need to set the positioning as the IDE sets the positioning for the Group Panel component. For example, the JSP code of a Button inside a Group Panel component may look like this:
<webuijsf:panelGroup binding="#{Page1.groupPanel1}" id="groupPanel1" style="position: absolute; left: 240px; top: 168px">
<webuijsf:button binding="#{Page1.button1}" id="button1" text="Button"/> </webuijsf:panelGroup>
Description: The identity sample projects are too fragile to patch for NetBeans 6.0 Release Candidate 1 and there will not be enough time to create brand new samples. Therefore, they are disabled for NetBeans 6.0 Release Candidate 1. The samples should be created for FCS.
NetBeans 6.0 Mobility enables you to develop Java ME based applications for MIDP, CLDC and CDC devices.
The unresolved Mobility issues for this release are as follows:
Description: Mobility pack 6.0 and the Sun Java Wireless Toolkit 2.5.2 for CLDC bundled with this release only support the Windows and Linux platforms.
Workaround: Users of MacOS and other unsupported operating systems that want to use the Mobility pack can refer to the instructions for installing zip distributions.
Description: The Sun Java Toolkit 1.0 for CDC is not bundled with the 6.0 release as was the case with previous Mobility pack for CDC releases.
Workaround: Download the Sun Java Toolkit 1.0 for CDC from the Sun Developer Network. The NetBeans FAQ has instructions describing how to install and register the CDC Toolkit in the IDE.
Description: Mobile applications can not be connected to an enterprise using the Mobility distribution of NetBeans 6.0.
Workaround: Install the Mobility End to End plugin.
- In the IDE's main menu go to Tools > Plugins.
- In the Plugins dialog click the Available Plugins tab.
- In the Name column of the Available Plugins, find Mobility End to End.
- Check the box next to Mobility End to End and click Install.
- The NetBeans IDE Installer dialog shows the plugins about to be installed. If additional plugins are necessary, the IDE selects them automatically. Click Next.
- A license agreement may appear next. To enable End to End functionality, accept the license agreement and click Install.
Note: You can also enable End to End functionality by installing the full distribution of NetBeans 6.0.
Description: The Sun Java Wireless Toolkit does not support non-ASCII characters in project paths.
Workaround: Make sure that your user directory does not contain non-ASCII characters. If it does, change the IDE's default user directory.
Description: When generating a web service client with complex classes, the IDE generates classes that are unable to compile.
Workaround: Change QNames of first level elements names to be unique. For example, change them to return1, return2, etc.
NetBeans 6.0 UML lets you explore and evaluate the UML functionality in the IDE. We encourage you to get involved and give us feedback by logging any issues you encounter in the Issue Tracking system at http://www.netbeans.org/community/issues.html.
Note: NetBeans 6.0 UML is currently not supported on the Macintosh OS X platform. UML is available for the Macintosh OS X platform via the NetBeans Plugin Manager. Please see the NetBeans wiki for UML Mac issues, http://wiki.netbeans.org/wiki/view/UMLMacIssues to get more information about the known Macintosh OS X issues and workarounds.
The unresolved UML issues for this release are as follows:
Description: If you import elements and then import a package, the imported elements will not show up until IDE restart. The same condition is true if you import a package and then import elements.
This NetBeans SOA 6.0 release lets you explore and evaluate new functionality in the IDE. We encourage you to get involved and give us feedback by logging any issues you encounter in the Issue Tracking system at http://www.netbeans.org/community/issues.html.
The unresolved SOA issues for this release are as follows:
Description: CASA does not support user editing of its generated files, and provides no warning when a user does so.
Workaround: Do not edit CASA-generated WSDL files. Manual editing of WSDL file is not supported and will cause unexpected results.
Description: If the user manually introduces errors into a WSDL files by CASA, the IDE throws Illegal State Exceptions.
Workaround:It is best not to edit CASA-generated documents manually.
Description: The IDE throws NPE and IllegalState exceptions on slower machines with smaller amounts of RAM
Workaround:If prompted to reload the WSDL file, do not.
Description: If you cancel the PartnerLink dialog that appears when you drag a WSDL file or a Web Service node from a NetBeans project onto a diagram, the IDE does not roll back the retrieval of the WSDL files(s).
Workaround: If these files are not needed by the project, simply delete them manually from the Projects window, as you would delete any other project resource.
Workaround: Use JDK 1.6.0_02 or later.
Workaround: Use ascii characters in module project names.
Description: In this release, the XSLT Service Engine does not support the execution of XSLT services that are of the Service Bridge service type.
Workaround: Install the latest version of the XSLT Service Engine and the Transform shared library:
- Download the XSLT Patch.
- Unzip the files containing the installer jars to a local folder.
- In the Services window, start the GlassFish V2 Application Server.
- Expand the Servers > GlassFish V2 > JBI > Service Engines node.
- Right-click sun-xslt-engine and select Uninstall.
- Expand the Servers > GlassFish V2 > JBI > Shared Libraries node.
- Right-click sun-transform-library and select Uninstall.
- Right-click the Shared Libraries node and select Install New Shared Library.
Navigate to the local folder containing the downloaded installation jars, select transformlib.jar, and select Install.- Right-click the Service Engines node and select Install New Service Engine.
Navigate to the local folder containing the downloaded installation jars, select xsltserviceengine.jar, and select Install.
NetBeans 6.0 C/C++ support C and C++ applications on Microsoft Windows, Macintosh OS X, Linux, and the SolarisTM Operating System. C/C++ developers can bring existing applications into the NetBeans project system, or develop new applications and libraries. NetBeans C/C++ support covers the end-to-end development cycle: projects and templates, an advanced language-aware editor, makefile-based builds, and debugging.
For information on installing and configuring the compilers and tools for NetBeans C/C++ support, see Installing and Configuring C/C++ Support.
The unresolved C/C++ issues for this release are as follows:
Description: On the Solaris and Linux operating systems, code compiled with the Sun Studio compilers cannot always be correctly debugged with the gdb debugger. Most known problems are fixed in the Sun Studio 12 software but several more exist. If you run into problems debugging programs compiled with Sun Studio 12 compilers, the first thing you should do is apply the latest Sun Studio 12 product patches. If your problem still exists, please file a defect in Issuezilla and make this task depend on it.
As problems are found, we will open new issues and update this task to depend on them, giving some idea of the current state of debugging programs compiled with Sun Studio 12 compilers using NetBeans and the gdb debugger.
These problems do not affect debugging code compiled with Sun Studio 12 compilers using the Sun Studio 12 IDE and the dbx debugger.
Description: When debugging on the Macintosh with Tiger (Mac OS X 10.4), the default version of the gcc and g++ compilers generates code with a bug in the debug output. Apple has released an updated Xcode package (version 2.5) with a fix for this problem. The correct versions of gcc, g++, and gdb are:
gcc: 4.0.1 - Apple build 5367
g++: 4.0.1 - Apple build 5367
gdb: 6.3.50 - Apple build 573 (10/20/2006)
To download this version of Xcode, see http://developer.apple.com/tools/download.
This problem is not an issue on Leopard (Mac OS X 10.5).
The symptoms of the problem are that executables compiled with the -gdwarf flag (the default for C/C++ application projects) have incorrect line information and breakpoints may be ignored.
You can find news, articles, additional modules, and other useful information on the NetBeans project web site. Since NetBeans is an open-source project, the web site also provides access to source code, a bug database, information on creating your own NetBeans modules, and much more. For more information, visit http://www.netbeans.org.