NetBeans IDE 7.0.1 Release Notes

NetBeansTM IDE is a modular, standards-based integrated development environment (IDE), written in the JavaTM programming language. The NetBeans project consists of a full-featured open source IDE written in the Java programming language and a 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 7.0.1 Installation Instructions. To learn about the new features included in this release of the IDE see the NetBeans IDE 7.0.1 Release Information page.

Contents

What's New in 7.0.1

NetBeans IDE 7.0.1 is an update to NetBeans IDE 7.0 and includes the following changes:

Full certification on the final release of JDK 7

Bundle GlassFish 3.1.1 update release

WebLogic related enhancements

Significant quality increase

The following updates to the 7.0 release also apply to 7.0.1:

Oracle Database improvements

HTML5 editing support

Maven 3 is supported and bundled with the IDE

Improved support for CDI, REST services, Java Persistence, and Bean Validation

PHP Rename Refactoring

Line wrapping

Improved detection of external changes (native file system listening)

Updates to the C/C++ support (remote file system browsing, library projects running/debugging, enhanced templates/specializations)

Support for Git 1.7.х

Additional enhancements are listed at the NetBeans IDE 7.0 page

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

Supported Technologies

NetBeans IDE 7.0.1 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. See the NetBeans IDE 7.0.1 Supported Platforms page for more details on the tested platforms and runtimes for this release.

Supported technologies:

Java EE 6, Java EE 5 and J2EE 1.4

Java ME SDK 3.0

Java Card 3 SDK

Struts 1.3.8

Spring 3.0, 2.5

Hibernate 3.2.5

Java API for RESTful Web Services (JAX-RS) 1.1

Java Wireless Toolkit 2.5.2 for CLDC

Issue Tracking Bugzilla 3.4 and earlier Jira 3.4 and earlier

C/C++/Fortran PHP 5.3, 5.2, 5.1

Groovy 1.6.4

Grails 1.1

Apache Ant 1.8.2

Apache Maven 3.0.3 or later

VCS CVS: 1.11.x, 1.12.x Subversion: 1.5.x, 1.6.x Mercurial: 1.5 ClearCase V7.0 Git 1.7.х



Tested application servers:

GlassFish Server Open Source Edition 3.1.1

WebLogic 11g PS3 (10.3.5)

Known to run application servers:

GlassFish Enterprise Server v2.1.1

Tomcat 7.0.14

JBoss 6.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/Vista SP1/Windows 7 Professional: Processor: 800MHz Intel Pentium III or equivalent Memory: 512 MB Disk space: 750 MB of free disk space

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

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

Solaris OS version 11 Express (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 (32 or 64-bit) Memory: 512 MB Disk space: 650 MB of free disk space

Recommended Hardware Configurations Microsoft Windows XP Professional SP3/Vista SP1/Windows 7 Professional: Processor: 2.6 GHz Intel Pentium IV or equivalent Memory: 2 GB Disk space: 1 GB of free disk space

Ubuntu 11.04: Processor: 2.6 GHz Intel Pentium IV or equivalent Memory: 2 GB Disk space: 850 MB of free disk space

Solaris OS version 11 Express (SPARC): Processor: UltraSPARC IIIi 1 GHz Memory: 2 GB Disk space: 850 MB of free disk space

Solaris OS version 11 Express (x86/x64 platform edition): Processor: AMD Opteron 1200 Series 2.8 GHz Memory: 2 GB Disk space: 850 MB of free disk space

Macintosh OS X 10.6 Intel: Processor: Dual-Core Intel (32 or 64-bit) Memory: 2 GB Disk space: 850 MB of free disk space





NetBeans IDE is also known to run on the various other Linux distributions such as Oracle Enterprise Linux 5, Ubuntu 8.x and 10.04, Red Hat Enterprise Linux, Fedora 14, and many others.

Note: NetBeans Web and Java EE support are particularly demanding on system resources - especially when used in combination with application servers. While the above system requirements apply to most configurations of the IDE, for the best results make sure that your system meets at least the recommended system requirements when developing Web and Java EE applications.

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 JDK for this release is JDK 7. The 7.0.1 version of the IDE cannot be installed or run using JDK 5.0.

Note: The PHP and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 6 to be installed and run.

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

Windows, Linux and Solaris : http://www.oracle.com/technetwork/java/javase/downloads/index.html

: http://www.oracle.com/technetwork/java/javase/downloads/index.html Mac OS X : http://support.apple.com/downloads

for Mac OS X 10.5 and higher (includes Java SE 6, version 1.6.0_17 for 64-bit Intel-based Macs (Core2Duo processors)) Note : Java SE 6 is required to install and run NetBeans IDE 7.0.1. Java upgrades for Mac OS X are also available via Apple's Software Update mechanism.

: http://support.apple.com/downloads for Mac OS X 10.5 and higher (includes Java SE 6, version 1.6.0_17 for 64-bit Intel-based Macs (Core2Duo processors)) Open VMS: http://h18012.www1.hp.com/java/download/index.html

top

SQL Editor and Databases

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

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

The MySQL drivers included in NetBeans IDE have been updated to version is 6.0. Tested Drivers NetBeans IDE 7.0.1 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 11g (11.1.0.7) jdbc:oracle:thin:@//localhost:1521:ora11i

Other Drivers The following drivers and databases have not been formally tested, but should work based on experience. Driver Version Example URL PostgreSQL 8.x jdbc:postgresql://jsmith.mycompany.com:5432/postgres MySQL MySQL Connector/J 6.0 jdbc:mysql://localhost:3306/sample 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=ora11i jdbc:datadirect:sqlserver://localhost:1433;DatabaseName=travel;SelectMethod=cursor jdbc:datadirect:db2://localhost:50002;databaseName=sample

For Database troubleshooting information please refer to the NetBeans Database Connectivity User FAQ.

top

Multilingual Support Information

NetBeans IDE is translated into the following languages: Brazilian Portuguese (BR), Japanese (JP), Simplified Chinese (ZH), and Russian (RU).

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.

top

Compatibility with Earlier Releases

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

Start the IDE go to Tools > Options in the main menu. Click the Import button at the bottom of the Options dialog. 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?

top

Archived Modules and Features

Since Oracle discontinued further development of Java FX Script, Java FX support was removed from NetBeans 7.0. If you want to use Java FX 1.3.1 and older, use NetBeans 6.9.1.

As kenai.com will go offline in 2011, NetBeans IDE 7.0.1 no longer contains the option to connect to kenai.com. You can still use the bug tracking and Hudson integration to connect to any non-Kenai instance of those services. To work with kenai.com until it goes offline, use a respective module on the Development Update Center.

The NetBeans IDE 7.0.1 no longer supports Ruby and Ruby on Rails. To continue using Ruby and Ruby on Rails in the NetBeans IDE, please visit the NetBeans Ruby Support FAQ page for details on how to do so going forward.

In the NetBeans IDE 7.0.1, the JUnit libraries are moved from the standard distribution of the IDE to the Update Center, please refer to the JUnit Installation FAQ page for details on how to install the JUnit plugin.

Support for GlassFish 2.1 and earlier is moved from the standard distribution of the IDE to the Update Center of the NetBeans IDE 7.0.1. To work with GlassFish 2.1 and earlier, download and install a respective module using the IDE's Plugin Manager.

top

Known Issues

Installer

The unresolved installer issues for this release are as follows:

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/gray 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 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373.

The NetBeans IDE 7.0.1 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 JDK6 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.

top

Core IDE

The unresolved Core IDE 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 #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 #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 #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 #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 the project name or path has multibyte characters. Description: The javadoc task is written in MacRoman, the default Mac OS encoding, when creating the temporary parameter file. This may be due to the BSD and Mach parts (system & kernel calls) accepting parameters in UTF-8, but the Mac OS and HFS only accepting MacRoman. Workaround: Avoid using multibyte characters 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: Upgrade to a more recent release of JDK 6.

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 start up options of the netbeans.conf file to -J-Dapple.laf.useScreenMenuBar=false .

top

Web and Java EE

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

Issue #183614: Step Into does not work properly with EJB. Description: When debugging a servlet, Step Into an EJB call stops at unrelated code. Workaround: Set a breakpoint in the EJB implementation code and use Step Over.

top

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 7.0.1 Mobility and the Java ME SDK 3.0 bundled with this release only support the Windows and Macintosh operating systems. Workaround: The Linux installer come bundled with the Sun Java Wireless Toolkit 2.5.2.

The Java ME module does not run if a directory name, path to the installation directory, or user directory contain non-ASCII characters. Description: The Java ME SDK 3.0 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.

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.

Issue #199734: NetBeans 7.0.1 is not able to detect Java ME SDK 3.0 on x64 platform. Description: Java ME SDK 3.0 does not support the Windows 7 x64 platform. Workaround: Run the IDE and Java ME SDK 3.0 on x86 JDK on x64 Windows.

top

PHP

The unresolved PHP issue for this release is as follows:

Issue #195141: When a file is downloaded from an FTP server to a NetBeans project, the NetBeans IDE downloads the file correctly, but the file is not visible in the Projects view after the download. Description: The downloaded file disappears from the Projects view and is not visible. Workaround: Restart the IDE or re-open the project.

Issue #201449: FTP does not work with Java 7 on Windows 7 or Vista. Description: Windows 7 or Windows Vista users running the NetBeans IDE on JDK 7 may experience FTP communication failure. Workaround: Check Windows Firewall. Windows Firewall blocks some FTP operations launched by JDK 7. See http://forums.netbeans.org/post-115176.html#113923 to proceed with resolving this issue.

top

C/C++

NetBeans C/C++ support C, C++, Fortran and various Assemblers (x86, SPARC, etc.) applications on Microsoft Windows, Macintosh OS X, Linux, and the Solaris TM 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.

Issue #193740: On Windows platform, the "Use external terminal" warning displays when the Standard Output console is used for debugging. Description: The Standard Output console type is not used for debugging on Windows platform. Workaround: Use the Internal Terminal in the CYGWIN environment and the External Terminal in the MSYS environment instead.

Issue #195121: Versioning framework does not work in full remote mode. Description: The versioning framework often works in terms of java.io.File , which makes it impossible to create a plugin capable of working with remote file objects. Workaround: Use versioning tools directly on the remote host via ssh , etc.

Issue #200196: On some platforms, where GDB 7.2 is used, "Step Over" sometimes behaves as "Continue". Description: On some platforms, where GDB 7.2 is used, "Step Over" sometimes behaves as "Continue". Workaround: Try an earlier GDB version or specify "Console Type" (Project Properties > Run) from "Internal Terminal" to another option.

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://netbeans.org.

Documentation

To get the most out of the features in NetBeans IDE 7.0.1, check out our web-based tutorials at the NetBeans IDE Documentation page.

Additional reference documentation resources include:

The NetBeans User FAQ has many workarounds and troubleshooting tips not included in the Release Notes.

The IDE's built-in help system has detailed support information for features included in all of the NetBeans IDE modules.

See Using NetBeans IDE on the Mac OS X for information about keyboard equivalents, tips, tricks, and other Mac-specific topics.

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://nblocalization.netbeans.org to learn how to contribute to additional language localizations of the NetBeans UI, help and user documentation.

top