NetBeans IDE 6.8 Release Notes

NetBeans IDE is a modular, standards-based integrated development environment (IDE), written in the Java programming language. The NetBeans project consists of an full-featured open source IDE written in the Java programming language and an rich client application platform, which can be used as a generic framework to build any kind of application. For information about how to install the software on your system, please see the NetBeans IDE 6.8 Installation Instructions. To learn about the new features included in this release of the IDE see the NetBeans IDE 6.8 Release Information page.

Contents

What's New in 6.8

NetBeans IDE 6.8 is a significant update to NetBeans IDE 6.7.1 and includes the following improvements:

  • Java EE 6 and GlassFish v3 support
  • JSF 2.0 support with many new features
  • PHP 5.3 and Symfony Framework support
  • Additional Kenai Feature integration and Jira bug tracking support
  • Improved C++ profiling with Microstate Accounting indicator and I/O usage monitor
  • JavaFX code completion, hints and navigation improvements in the NetBeans editor
  • Additional Enhancements are listed on the NetBeans IDE 6.8 New and Noteworthy page.

For more about this release, see the NetBeans IDE 6.8 Release Information page.

Multilingual Support Information

NetBeans IDE is available in the following Sun supported translations: Brazilian Portuguese (BR), Japanese (JP) and Simplified Chinese(ZH).

Community translations of the IDE are also available in several additional languages and can be downloaded from the Community Contributed section of the IDE Language drop-down menu.

Supported Technologies

NetBeans IDE 6.8 supports the following technologies and has been tested with the following application servers. If you plan to use versions other than those explicitly listed, please note that you may encounter unpredictable IDE behavior.

Supported technologies:
  • Java EE 5, Java EE 6 and J2EE 1.4
  • JavaFX SDK 1.2.1
  • Java ME SDK 3.0
  • Struts 1.3.8
  • Spring 2.5
  • Hibernate 3.2.5
  • Java API for RESTful Web Services (JAX-RS) 1.1
  • PHP 5.3, 5.2, 5.1
  • Ruby 1.9, 1.8
  • JRuby 1.4
  • Rails 2.3.4
  • Groovy 1.6.4
  • Grails 1.1
  • VCS
    • CVS: 1.11.x, 1.12.x
    • Subversion: 1.4.x, 1.5.x, 1.6.x
    • Mercurial: 1.x
    • ClearCase V7.0
   

Tested application servers:
  • GlassFish v3
  • Sun Java System Application Server PE 8.2
  • WebLogic 11g (10.3.1.0)
  • Tomcat 6.0.20
  • Tomcat 5.5
  • JBoss 5.0

System Requirements

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.


Supported Operating Systems

Minimum Hardware Configurations

  • Microsoft Windows XP Professional SP3:
    • Processor: 800MHz Intel Pentium III or equivalent
    • Memory: 512 MB
    • Disk space: 750 MB of free disk space

  • Microsoft Windows Vista SP1:
    • Processor: 800MHz Intel Pentium III or equivalent
    • Memory: 512 MB
    • Disk space: 750 MB of free disk space

  • Microsoft Windows 7:
    • Processor: 800MHz Intel Pentium III or equivalent
    • Memory: 512 MB
    • Disk space: 750 MB of free disk space

  • Ubuntu 9.04:
    • Processor: 800MHz Intel Pentium III or equivalent
    • Memory: 512 MB
    • Disk space: 650 MB of free disk space

  • Solaris OS version 10 (SPARC):
    • Processor: UltraSPARC II 450 MHz
    • Memory: 512 MB
    • Disk space: 650 MB of free disk space

  • Solaris OS version 10 (x86/x64 Platform Edition):
    • Processor: AMD Opteron 1200 Series 1.8 GHz
    • Memory: 512 MB
    • Disk space: 650 MB of free disk space

  • Macintosh OS X 10.5 Intel:
    • Processor: Dual-Core Intel
    • Memory: 512 MB
    • Disk space: 650 MB of free disk space

  • Macintosh OS X 10.5 PPC:
    • Processor: PowerPC G4
    • Memory: 512 MB
    • Disk space: 650 MB of free disk space

    For more information, see Using NetBeans on Mac OS X.

Recommended Hardware Configurations

  • Microsoft Windows XP Professional SP3:
    • Processor: 2.6 GHz Intel Pentium IV or equivalent
    • Memory: 2 GB
    • Disk space: 1 GB of free disk space
  • Microsoft Windows Vista SP1:
    • Processor: 2.6 GHz Intel Pentium IV or equivalent
    • Memory: 2 GB
    • Disk space: 1 GB of free disk space
  • Microsoft Windows 7:
    • Processor: 2.6 GHz Intel Pentium IV or equivalent
    • Memory: 2 GB
    • Disk space: 1 GB of free disk space
  • Ubuntu 9.04:
    • Processor: 2.6 GHz Intel Pentium IV or equivalent
    • Memory: 2 GB
    • Disk space: 850 MB of free disk space
  • Solaris OS version 10 (SPARC):
    • Processor: UltraSPARC IIIi 1 GHz
    • Memory: 2 GB
    • Disk space: 850 MB of free disk space
  • Solaris OS version 10 (x86/x64 platform edition):
    • Processor: AMD Opteron 1200 Series 2.8 GHz
    • Memory: 2 GB
    • Disk space: 850 MB of free disk space
  • OpenSolaris 2009.06 (x86/x64 platform edition):
    • Processor: AMD Opteron 1200 Series 2.8 GHz
    • Memory: 2 GB
    • Disk space: 650 MB of free disk space
  • Macintosh OS X 10.5 Intel:
    • Processor: Dual-Core Intel
    • Memory: 2 GB
    • Disk space: 850 MB of free disk space
  • Macintosh OS X 10.5 PPC:
    • Processor: PowerPC G5
    • Memory: 2 GB
    • Disk space: 850 MB of free disk space
    For more information, see Using NetBeans on Mac OS X.


NetBeans IDE is also known to run on the following platforms:

  • Java Desktop System 2
  • Microsoft Windows 2000 Professional SP4
  • Mac OS X 10.4.11 Intel/Power PC
  • Various other Linux distributions, such as Ubuntu 8.x, Red Hat Enterprise Linux and many others.

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.

Required Software

NetBeans IDE runs on the Java SE Development Kit (JDK) which consists of the Java Runtime Environment plus developer tools for compiling, debugging, and running applications written in the Java language.

The tested JDKs for this release are:

  • JDK 6 Update 14
  • JDK 5 Update 19

Note: The PHP, Ruby and C/C++ NetBeans bundles only require the Java Runtime Environment 5 or 6 to be installed and run.


You can download the JDK for your platform from one of the sites listed below:

Note: You can download archived versions of the JDK at http://java.sun.com/products/archive/index.html.

top

Compatibility

When the IDE is run for the first time after installation you have the option to import some of the settings used in a previous installation. The IDE opens using the default settings if you choose not to import the settings from the existing installation. Note that IDE only recognizes previous installations when the user directory resides in the default location. It does not recognize installations that use the --userdir switch to specify a user directory. If you would like to import settings from a location that the installer does not recognize do the following:

  1. Start the IDE go to Tools > Options in the main menu.
  2. Click the Import button at the bottom of the Options dialog.
  3. In the Select Options to Import dialog, click the Browse button and navigate to the user directory that contains the settings you want to import. For more about the location of the NetBeans IDE userdir, see the FAQ What is a userdir and where can I find it? .

Note: If you edit the Project Properties in NetBeans IDE 6.8 for a project that was created in NetBeans IDE 4.1 or earlier, the project will no longer work in the earlier NetBeans IDE versions.

top

JavaFX 1.2.1 SDK Availability

The JavaFX 1.2.1 SDK is bundled with the NetBeans 6.8 release.

Note: The minimum supported JDK version for JavaFX 1.2.1 is JDK 6 Update 14 for Windows and JDK 5 Update 16 for Mac OS. Please see the JavaFX SDK System Requirements page for more information.

Note: For additional information about system requirements, supported features and known issues, please refer to the JavaFX 1.2.1 SDK Release Notes.

top

SQL Editor and Databases

The following changes have been made to the database functionality in NetBeans IDE 6.8:

  • Upgraded Drivers. The MySQL drivers included in NetBeans IDE have been updated to version is 5.1.6.
  • Tested Drivers

    NetBeans IDE 6.8 has been tested with the following databases and drivers.

    Driver
    Version
    Example URL
    JavaDB Derby 10.4.1.3 jdbc:derby://localhost:1527/sample (Network)
    Oracle Oracle Database 10g Release 2 (10.2.0.2) jdbc:oracle:thin:@//localhost:1521:ora9i
    PostgreSQL 8.3 Build 603 jdbc:postgresql://jsmith.mycompany.com:5432/postgres
    MySQL MySQL Connector/J 5.1.6 jdbc:mysql://localhost:3306/sample
  • Other Drivers

    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.2.2828.100 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://test-mycompany.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
    Pointbase 5.2 ECF build 294

     

    jdbc:pointbase://localhost:29092/sample

     

top

Known Issues: Installer

The unresolved installer issues for this release are as follows:

  • Issue #6720021: Installer doesn't work when using OpenSolaris with any version of JDK 5.

    Description: Installer doesn't work when using OpenSolaris with any version of JDK 5.

    Workaround: Install with JDK 6 or execute the "export AWT_TOOLKIT=XToolkit" command before running the installer using JDK 5.

  • Issue #93568: On Solaris and Linux, installation hangs when the network connection is lost.

    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.

  • Issue #117172: A blank window when running the installer on Ubuntu.

    Description: The installer appears as the blank/grey dialog when running on Ubuntu with Beryl/Compiz/Compiz Fusion installed.

    Workaround: Execute the export AWT_TOOLKIT=MToolkit command before running the installer.

  • Issue #123300. On Fedora Core 8 the installer stops displaying the interface and returns to the console.

    Description: On Fedora Core 8, displaying the installation interface stops and the system returns to the console.

    Workaround: See https://netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=98765.

  • The NetBeans IDE 6.8 installation wizard does not start properly (hangs). After the user stops the installation process manually, and the installer reports that another installer instance is running.

    Description: On Windows, when Java6 is used by default and large zip files are stored on the desktop, the installation wizard does not start properly (hangs). After the user stops the installation process manually, and the installer reports that another installer instance is running.

    Workaround: Before the installation, remove all big zip files from the desktop

  • Issue #177872: On Mac OS X, GlassFish v3 add-on and update tools may not work properly

    Description: On Mac OS X, the pkg-based add-on and update tools do not work properly under non-root accounts if GlassFish v3 was installed under root.

    Workaround: Use the chown -R command to change ownership of the GlassFish installation and set it to the non-root user who needs it. For example: sudo chown -R <newuser>:admin /Applications/NetBeans/glassfish-v3, where newuser is the non-root user. After this command is used, the user can directly execute the bin/updatetool and bin/pkg tools.

top

Known Issues: Core IDE

The unresolved issues for this release are as follows:

  • Difficulties starting the IDE (Solaris x86 and Dual-Core Opteron).

    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

  • Characters do not display properly in some Asian locales.

    Description: When running the IDE with some Asian locales on Ubuntu 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: Please see the FAQ for help with resolving this issue: http://wiki.netbeans.org/FaqI18nLinuxAsianFonts

  • Issue #6720021: Difficulties starting the IDE on OpenSolaris using any version of JDK 5.

    Description: IDE may not start on OpenSolaris when using any version of JDK 5.

    Workaround: Use JDK 6 or execute the export AWT_TOOLKIT=XToolkit command before starting the IDE.

  • Issue #64840: Network communication broken on Linux with IPv6 enabled.

    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.

  • Issue #167401: IDE randomly freezes on MacOS X systems using JDK 1.6.0 update 13

    Description: IDE may randomly freeze when browsing through the main menu bar due to Apple JDK bug #6993269.

    Workaround: Either switch to a different JDK version or modify the default startup options of the netbeans.conf file to -J-Dapple.laf.useScreenMenuBar=false.

  • Issue #110074: Editor periodically freezes on Solaris.

    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.

  • Issue #88776: Profiled application can crash when profiling using dynamic attach mode.

    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.

  • Issue #119617: Cursor lost in editor and cannot type using keyboard

    Description: It can sometimes occur that after using a hint in the editor window that the insertion point in the editor disappears and you cannot type using the keyboard. This has mostly been reported on Mac OS X 10.4, but there have been some reports on some versions of Ubuntu.

    Workaround: Use the mouse to open and then close a dialog window (for example, a properties dialog). This returns the focus to the editor and the insertion point and keyboard will work as normal.

  • Issue #130357: I18N - Mac OS won't generate javadoc if project name or path has multibyte

    Description: The javadoc task while creating the temporary parameter file is written in default OS encoding which is MacRoman. This appears to be a Mac OS situation where the BSD and Mach parts (system & kernel calls) accept parameters in UTF-8, but OS and HFS promote themselves as MacRoman.

    Workaround: Avoid using multibyte in the name of the project or the path to the project.

  • Issue #152916: Difficulties starting IDE on 64-bit Mac OS X 10.5.5 using JDK 1.6_07

    Description: On certain 64-bit Mac OS X 10.5.5 configurations with JDK 1.6_07 set as the system's default Java platform, you may encounter problems starting the IDE from the Finder and from the command line.

    Workaround: Switch system default to JDK 1.5.

  • Issue #150416: Sample DB can't be created without InnoDB

    Description: Sample database in NetBeans use foreign keys. The MyISAM engine doesn't support foreign keys. Therefore, sample databases cannot be used without the InnoDB storage engine.

    Workaround: Install the InnoDB transactional storage engine.

  • Issue #158421: Difficulties using the IDE with G1 Garbage Collector

    Description: If you are using G1 Garbage Collector (in JDK 6 Update 14 or newer and in JDK 7), you may encounter exceptions thrown while using the IDE.

    Workaround: Do not use G1 Garbage Collector (remove -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC from netbeans.conf or the command line).

top

Known Issues: Web and Java EE

The unresolved Web and Java EE issues for this release are as follows:

  • Issue #178108: Metamodel classes for managed JPA entities are not generated automatically
    Description: Metamodel classes for the corresponding managed entities are not generated. Constructing typesafe queries that use the Criteria API and metamodel class will not work.
  • No Support for Ajax Sample Components
    Description: Blue Prints Ajax Sample components are not supported in this release because they are based on a old version of Dojo that is no longer compatible with later versions. Woodstock components bundled in NetBeans depends on more recent versions of Dojo APIs for client side rendering. For most of the widely used BP Ajax components (supported in NetBeans 5.5), there is equivalent functionality available from Project Woodstock as listed below.
    • Auto Complete - This blog (http://blogs.sun.com/dmitry/entry/creating_autocomplete_entry_field_with ) describes how to achieve similar functionality with components from Project Woodstock library.
    • Pop up Calendar - Project Woodstock includes a Calendar component.
    • Select Value field - Use auto complete instead which has similar functionality but different UI.
    • Progress Bar - Project Woodstock includes a Progress Bar component.
    • Google Map - Planned for future.
    • Rating Component - Planned for future.
    • RichText Editor - Not supported.

top

Known Issues: Database Support

NetBeans enables you to write code to integrate and connect your applications to databases.

The unresolved database issues for this release are as follows:

  • Issue #168812: : SELECT * INTO statement updates only first the 20 rows.

    Description: The statement SELECT * INTO table2 FROM table1 only updates the first 20 rows of table2.

    Workaround: Create table1 and invoke statement INSERT INTO table2 then SELECT * FROM table1.

top

Known Issues: Java ME

NetBeans enables you to develop Java ME based applications for MIDP, CLDC and CDC devices.

The unresolved Java ME issues for this release are as follows:

  • Linux Solaris and other operating systems are not supported by the Java ME SDK 3.0.

    Description: NetBeans 6.8 Mobility and the Java ME SDK 3.0 bundled with this release only support the Windows operating system.

    Workaround: The Linux installer come bundled with the Sun Java Wireless Toolkit 2.5.2. Mac OS users can download the Java Platform Micro Edition Software Development Kit 3.0 for MacOS EA to develop mobile applications. The FAQ has instructions for installing the Java ME SDK 3.0 for MacOS in the IDE.

  • Issue #139031: Emulator does not start in Windows if the Java binary is not in the environment path.

    Description: The Java ME SDK and other emulators do not launch in Windows if Java.exe is not in the path.

    Workaround: Install the JDK using the default settings or, if performing a custom install, be sure to select the public JRE for installation. If the JDK is already installed you can add the Java.exe file to your system's path settings.

top

Known Issues: Ruby

NetBeans enables you to develop Ruby and Ruby Rails applications.

The unresolved Ruby issues for this release are as follows:

  • Issue #171338: Users unable to create Rails project

    Description: Users are unable to create a project when spaces are present in the directory path of the bundled JRuby platform.

    Workaround: Manually upgrade RubyGems from the command line: nb_install_dir_ruby2/jruby-1.4/bin/jruby -S gem update --system

top

Known Issues: C/C++

NetBeans 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:

  • Issue # 149053: On Windows platforms, the path to make tools cannot contain spaces

    Description: On Windows platforms, if the path to make tools contains embedded spaces, the path is truncated and the tools are not found.

    Workaround: Do not use spaces in the make tools path.

  • Issue # 166811: GDB fails on Open Solaris when starting to debug C++ files

    Description: When debugging C++ projects on Open Solaris GDB fails due to a segmentation fault.

    Workaround: Delete the gcc-432 packages as described in the workaround for this bug.

  • Issue # 148204: On Windows platforms, user input does not work in Output window when debugging

    Description: On Windows platforms, when you are debugging an application and the console type for the project is set to Output Window, you cannot type input in the Output window. This issue does not affect development using a remote host.

    Workaround: Set the console type to External Terminal by right-clicking the project node in the Projects window, selecting the Run node in the Project Properties dialog box, selecting External Terminal from the Console Type drop-down list, and clicking OK.

  • Issue #121776: Sun Studio compiled code sometimes has problems being debugged with gdb

    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.

  • Issue #121775: Need latest Xcode for debugging on Tiger (Mac OS X 10.4)

    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.

top

More Information

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.

Documentation

To get the most out of the features in NetBeans IDE 6.8, check out our web-based tutorials and screencasts. Check these pages frequently because we add new content all the time.

The built-in help system for NetBeans IDE 6.8 has been updated to support new features and minor changes to the user interface since the 6.7 release.

Community

Keep up to date on the the latest developments and interact with the NetBeans community by signing up for NetBeans project mailing lists at https://netbeans.org/community/lists/.

You can post questions at http://forums.netbeans.org/ The forums are synchronized with the most widely used NetBeans mailing lists. Note that a separate sign up for the forums is required.

Please visit the community translation information page at http://translatedfiles.netbeans.org/ to learn how to contribute to additional language localizations of the NetBeans UI, help and user documentation.



top

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo