NetBeans IDE 7.1.2 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.1.2 Installation Instructions. To learn about the new features included in this release of the IDE see the NetBeans IDE 7.1.2 Release Information page.

Contents

What's New in 7.1.2

NetBeans IDE 7.1.2 is an update to NetBeans IDE 7.1 and includes the following changes:

Java TM SE Development Kit 7 Update 4 support

SE Development Kit 7 Update 4 support Full support of JavaFX 2.1 SDK on Windows and OS X 10.7

Java ME SDK 3.0.5 support

Bundled GlassFish 3.1.2 update release

Note: If you download and install a patch for Netbeans IDE 7.1, both Java ME SDK 3.0 and Glassfish 3.1.1 remain unchanged. These components get upgraded by running the Netbeans IDE 7.1.2 installer.

The following updates to the 7.1 release also apply to 7.1.2:

Batch refactoring tool for bulk changes in Java Editor

New UI Debugger for JavaFX and Swing

Support for WebLogic 12c

Improved support for CDI, EJB, JSF, Spring, Web Services

Subversion and Mercurial enhancements and bundled Git support

Maven enhancements

PHP enhancements

Additional enhancements are listed at the NetBeans IDE 7.1 page

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

Supported Technologies

NetBeans IDE 7.1.2 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.1.2 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

JavaFX 2.1

Java ME SDK 3.0.5

Java Card 3 SDK

Struts 1.3.10

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 4.0.x and earlier Jira 4.2 and earlier

PHP 5.3, 5.2, 5.1

Groovy 1.6.4

Grails 1.1

Apache Ant 1.8.3

Apache Maven 3.0.3 or later

C/C++/Fortran

VCS Subversion: 1.5.x, 1.6.x Mercurial: 1.8 and earlier ClearCase V7.0 Git 1.7.х



Tested application servers:

GlassFish Server Open Source Edition 3.1.2

WebLogic 12c

Known to run application servers:

GlassFish 3.0.1

Tomcat 7.0.27

JBoss 6.1

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.6 Intel: Processor: Dual-Core Intel (32 or 64-bit) Memory: 1 GB 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.7 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 Linux 5, Ubuntu 8.x, 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 7u4 for Windows, Linux, Solaris and OS X. The 7.1.2 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 or 7 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 OS X : http://support.apple.com/downloads

for Mac OS X 10.6 (includes Java SE 6, version 1.6.0_31) http://www.oracle.com/technetwork/java/javase/downloads/index.html

for OS X Lion 10.7 Note : Java SE 6 or Java SE 7 are required to install and run NetBeans IDE 7.1.2. Java upgrades for Mac OS X are also available via Apple's Software Update mechanism.

: Open VMS: http://h18012.www1.hp.com/java/download/index.html

top

JavaFX Support

The JavaFX 2.1 SDK is not bundled with the NetBeans IDE 7.1.2 release. You can download it from http://www.oracle.com/technetwork/java/javafx/downloads/index.html or install together with JDK 7u4 on Windows or OS X 10.7 as a co-bundled product.

Please note the following:

The minimum supported JDK version for JavaFX 2.1 is 6 Update 32 or Java SE 7 Update 4 for Windows and Java SE 7 Update 4 for OS X.

See the JavaFX 2.1 Release Notes page for more information about system requirements and supported platforms in the JavaFX 2.1 SDK, and the list of known issues with the JavaFX 2.1 code or documentation.

The FX project file format has been substantially updated from the 7.1 Beta format and may cause problems for users who attempt to open 7.1 Beta FX projects in NetBeans IDE 7.1.2. See issue #205249 for details.

top

SQL Editor and Databases

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

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

The MySQL drivers included in NetBeans IDE have been updated to version 6.0. Tested Drivers NetBeans IDE 7.1.2 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

Support for designing GUI forms that use Swing Application Framework was discontinued. If you want to edit such forms, use NetBeans 7.0.1.

Note: Support for Swing is not affected by the removal of Swing Application Framework from NetBeans IDE.

CVS support was moved from the standard distribution of the IDE to the Update Center. To work with CVS in the IDE, download and install the respective module using the IDE's Plugin Manager.

The C/C++ Profiling Tools were removed from the standard distribution of the IDE.

Support for directly deploying to some mobile devices, most notably Ricoh devices and also very old Windows phones, was removed. You can still develop an application for such platforms though the direct deploy option is removed from the IDE.

The Packaged Archive project template was removed from the IDE.

The complete list of NetBeans Archived Features is available at http://wiki.netbeans.org/NetBeansArchivedFeatures.

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 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 #211406: Views and Palettes keeps scrolling itself to the drag position after DnD Description: After dragging and dropping something from Projects or Files Views or Palette in GUI designers, when you scroll the View or Palette up or down it will scroll back to the drag position, requiring you to scroll to select some nodes and components. Workaround: You must restart the IDE.

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.

See also 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 will not 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 #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 .

Issue #200826: On Windows 7, newly installed IDE running on JDK 7 won't connect to network. Description: In some cases the firewall of the local system may filter responses from the network while connecting to a remote host. When connecting to a remote host the JDK will first attempt to use IPv6 and then IPv4. The firewall may filter out a negative response from the host when using IPv6 with the result that the JDK does not attempt to connect to the host using IPv4. Workaround: Modify the netbeans.conf to add the -J-Djava.net.preferIPv4Stack=true command line switch, or modify the NetBeans options of the environment variable.

Issue #201531: On Mac OS X, the IDE may hang while editing Java code. Description: On Mac OS X, the IDE may hang while editing Java code, which is presumably implied by a bug in the Apple JDK. Workaround: Use Java for Mac OS X Developer Preview 11M3614+10M3614 or newer or wait for official release of Java 6 update.

Issue #211236: JDK crash when invoking "View data" in Slowness reporter dialog on Mac OS X Description: Clicking the View Data button in the slowness reporter dialog box may cause the JDK to crash on machines running Mac OS X 10.7 and JDK 7u4. Workaround: Do not click View Data button.

top

Web and Java EE

The unresolved Web and Java EE issue 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

JavaFX

The unresolved JavaFX issue for this release is as follows:

Issue #209915: Projects do not run as WebStart on Mac with JDK 7u4. Description: Not possible to run a Java or JavaFX project using WebStart on Mac OS X if the Java platform is JDK 7u4. Workaround: No workaround. WebStart on Mac OS X is not implemented in JDK 7u4.

top

Java ME

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

The unresolved Java ME issue for this release is as follows:

Issue #208647: CDC Application sources are marked red. Description: Newly created CDC Application shows errors in source code. This is a problem in the editor. There is no problem with the source code. Workaround: Ignore the errors. The application will run in the emulator.

top

PHP

The unresolved PHP issue for this release is as follows:

Issue #201449: FTP and SFTP do 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 and SFTP communication failure. Workaround: Check Windows Firewall. Windows Firewall blocks some FTP and SFTP operations launched by JDK 7. See NetBeans Configuring Windows Firewall For Passive FTP User FAQ for details.

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.

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.1.2, 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