NetBeansTM IDE 4.0 Release Notes

Last Updated: 13 December 2004

Contents

Introduction
What Has Changed
New in the 4.0 Release
API Changes
System Requirements
Minimum Hardware Configuration
Recommended Hardware Configuration
Operating System
Software
Supported Technologies
Web Standards
Web Browsers
Databases
J2ME MIDP
Other
Launching the IDE
Launchers
Startup Parameters
Upgrading from Version 3.6
Known Issues
Documentation
More Information

Introduction

Welcome to NetBeansTM IDE 4.0. NetBeans IDE is a modular, standards-based integrated development environment (IDE), written in the JavaTM programming language. The NetBeans project consists of:

For information about the NetBeans Mobility Pack 4.0 see the J2ME MIDP Development Release Notes.

Read more about the NetBeans project...

What's Changed

New in the 4.0 Release

The major new features in this release are:

  • Система проектов, основанная на Ant
  • Refactoring Support
  • Поддержка JDK 1.5
  • Улучшения при разработке веб-приложений

For an overview of the changes in this release, see the NetBeans 4.0 Release Plan.

For a full description of the changes in the 4.0 release, see What's New in NetBeans IDE 4.0.

API Changes

If you develop modules for the NetBeans project, check the NetBeans Upgrade Guide for information on API changes.

System Requirements

Minimum Hardware Configuration
  • Microsoft Windows operating systems:
    • Processor: 500 MHz Intel Pentium III workstation or equivalent
    • Memory: 384 megabytes
    • Disk space: 125 megabytes of free disk space

  • SolarisTM operating system:
    • Processor: 450 MHz UltraTM 10 workstation or equivalent
    • Memory: 384 megabytes
    • Disk space: 125 megabytes of free disk space

  • Linux operating system:
    • Processor: 500 MHz Intel Pentium III workstation or equivalent
    • Memory: 384 megabytes
    • Disk space: 125 megabytes of free disk space
Recommended Hardware Configuration
  • Microsoft Windows operating systems:
    • Processor: 780 MHz Intel Pentium III workstation or equivalent
    • Memory: 512 megabytes
    • Disk space: 125 megabytes of free disk space

  • SolarisTM operating system:
    • Processor: 500 MHz UltraTM 60 workstation or equivalent
    • Memory: 512 megabytes
    • Disk space: 125 megabytes of free disk space

  • Linux operating system:
    • Processor: 800 MHz Intel Pentium III workstation or equivalent
    • Memory: 512 megabytes
    • Disk space: 125 megabytes of free disk space
Operating System

NetBeans IDE runs on operating systems that support the JavaTM VM. Below is a list of platforms that NetBeans IDE has been tested on.

  • Microsoft Windows XP Professional SP1
  • Microsoft Windows 2000 Professional SP3
  • Solaris operating system (SPARC® Platform Edition), versions 8, 9, and 10
  • Solaris operating system (x86 Platform Edition), versions 8, 9, and 10
  • Red Hat Linux 9.0
  • Red Hat Enterprise Linux 3
  • Sun Java Desktop System

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

  • Various other Linux distributions
  • Mac OS X 10.1.1 or later
  • Open VMS 7.2-1 or later
  • Other UNIX® platforms, such as HP-UX
Software

NetBeans IDE runs on the J2SE JDK 5.0 (JavaTM 2 JDK, Standard Edition), which consists of the Java Runtime Environment plus developers tools for compiling, debugging, and running applications written in the JavaTM language. NetBeans IDE 4.0 has also been tested on J2SE SDK version 1.4.2.

Note: If you wish to run the IDE on earlier versions of the SDK or if you prefer to install the IDE manually, you can download archived versions of the IDE at http://java.sun.com/products/archive/index.html.

Download the JDK for your platform from one of the sites listed below:

Note: If the installer does not detect the JDK version that you wish to run the IDE on, you can set the --is:home jdk_home_dir parameter in the netbeans.conf file to point to the desired JDK. For more information about setting startup parameters, see The Launcher and Startup Parameters.

Supported Technologies

Web Standards
  • JavaTM Servlet 2.3 and 2.4 specifications
  • JavaServer PagesTM (JSPTM) technology specifications 1.2 and 2.0
  • Deployment descriptor (web.xml) based on version 2.3 or 2.4 of the web application DTD
  • JavaTM 2 Platform, Enterprise Edition (J2EETM) 1.3 and 1.4
  • Tomcat 5.0.28 release
Web Browsers

The following web browsers have been tested with NetBeans IDE:

  • Netscape 7.1
  • Microsoft Internet Explorer 6
  • Mozilla 1.5
Databases

The following database servers have been tested with NetBeans IDE:

  • IBM DB2 8.1
  • Oracle 9i
  • Pointbase 4.2
  • Microsoft SQL 2000 SP3
  • MySQL 4.x
J2ME MIDP 2.0

If you do J2ME MIDP development, you can download NetBeans Mobility Pack 4.0.

Other

NetBeans IDE has also been tested with the following:

  • Ant 1.5.3 and higher. (NetBeans IDE comes bundled with Ant 1.6.2. You can easily change Ant versions in the IDE's Ant settings.)
  • CVS 1.11
  • Merant PVCS 7.5.1
  • Visual Source Safe 6.0

Launching the IDE

To make the process of starting up the IDE more convenient, the installation includes launchers for several platforms.

Launchers

The launchers load the JVM, build the IDE's classpath, pass it along with some default parameters to the JVM, and prompt the JVM to launch the Java application. They also restart the IDE after accessing the Update Center. The IDE's provided launchers are located in the bin subdirectory of the installation directory.

Launchers provided with IDE installation include:

  • For Microsoft Windows:
    • netbeans.exe is the executable for running NetBeans IDE as a Windows application without a console.
    • nb.exe is a Microsoft Windows console application. When you run nb.exe, a console opens on the desktop with stderr and stdout output from the NetBeans IDE.

  • For Solaris and other UNIX variants: netbeans Bourne shell script is the launcher.
  • OpenVMS: runideopenvms.com is the launcher.
  • Macintosh OS-X: NetBeans is the launcher.
Startup Parameters

Whenever you launch the IDE, it parses the command line options it finds in netbeans.conf. You can customize the startup parameters passed to the IDE at startup by editing the ${IDE_HOME}/etc/netbeans.conf file.

Command-line switches can be entered using GNU style, meaning they are preceded with two hyphens rather than one (e.g.: --help) or single-letter switches (e.g.: -h). JVM flags are entered using only one hyphen as in -Jjvm_flag, for example.

You can use the following command-line switches:

-h
--help
print descriptions of common startup parameters.

--jdkhome jdk_home_dir
use the specified version of the Java 2 SDK instead of the default SDK. By default on Windows systems, the loader looks into the Windows registry and uses the latest SDK available.

--cp:p additional_classpath
prepend the specified classpath to the IDE's classpath. This option is generally not recommended for any purpose.

--cp:a additional_classpath
append the specified classpath to the IDE's classpath.

-Jjvm_flag
pass the specified flag directly to the JVM.

--laf UI_class_name
use a given class as the IDE's look and feel.

--fontsize size
use a given size in points as the basic font size for the IDE user interface.

--locale language[:country[:variant]]
use the specified locale.

--userdir userdir
explicitly specify the userdir, which is the location in which user settings are stored. If this option is not used on a UNIX system, the location is ${HOME}/.netbeans/4.0. On Microsoft Windows systems, the default is .netbeans\4.0 beneath your default Windows profile area (e.g. c:\Documents and Settings\yourlogin).

--open file
--open file:line number
Opens the file in the IDE's Source Editor at the specified line.

Note: When launching the IDE for the first time, the IDE needs to scan your system classpath after creating the initial new project. During this period you may experience a brief delay, depending on the complexity of the project and your system configuration. While the IDE occasionally scans the classpath (when creating additional projects or after restarting the IDE, for example), the more thorough and time-consuming procedure only needs to be carried out once.

Upgrading from Version 3.6

When you first run the IDE, you can import a subset of the settings you used in NetBeans IDE 3.6. If you choose not to import settings from a previous release, the IDE opens using the default settings. Project-specific settings are not importable from version 3.6.
Note: The IDE only recognizes previous installations where the user directory resides in the default location. It does not recognize installations for which you have specified a user directory using the --userdir switch.

Though it is possible to import settings from a previous IDE installation into NetBeans IDE 4.0, it is not possible to import settings from NetBeans IDE 4.0 into an earlier IDE release.

Known Issues

The major unresolved issues for this release are as follows:

  • General Issues

    Описание:

    When working with large projects in the IDE, i.e. those having large numbers of classes, libraries, or required projects, you may experience slowed UI responsiveness or even Out of Memory errors.

    Workaround:

    If this occurs, you should increase the IDE's maximum heap size. Navigate to the /etc directory within the IDE's installation directory and open the netbeans.conf file in a text editor. Change -J-Xmx128m to -J-Xmx160m, or even to -J-Xmx256m for very large projects. For smooth and responsive work with the IDE, it is recommended that your physical RAM size be at least 200MB larger than the Xmx setting. Therefore, you should not set -J-Xmx256m if your system has less than 512MB RAM installed.

  • Issue # 45963

    Описание:

    When working with projects with resources (JDK, libraries, sources, etc.) located on remote disks within a LAN or accessed from a /net folder, you may experience slowed IDE performance.

    Workaround:

    As responsiveness depends on many factors (LAN throughput, project configuration, user's workflow, etc.), there is no easy workaround for this problem. If the IDE's performance seems insufficient, it is recommended that you place all necessary resources on the local system.

  • Issue # 47645

    Описание:

    Cannot run a target with a task that has failonerror=true from within the IDE even though the same script runs outside of the IDE without problems.

    Workaround:

    If this occurs, it is recommended that you run the script from the command line. Alternately, you may rewrite the script.

  • Issue # 49039

    Описание:

    When switching projects on the Choose File Type page of the IDE's New File wizard (New > File), the newly designated project doesn't propogate to the subsequent page of the wizard. Note that this problem occurs for generic file templates in the wizard's Other node (i.e. Properties, Folder, Html, etc.) and does not affect Java, Form, Web, JavaBeans, or JUnit templates.

    Workaround:

    If you experience this problem, invoke the New File wizard by right-clicking the project you wish to add the new file to and choosing New from the contextual menu that appears.

  • Issue # 47708

    Описание:

    Cannot send text input to Ant tasks via the console or the IDE's Output window.

    Workaround:

    Run the Java app in unforked mode by opening build-impl.xml, copying <target
    name="-init-macrodef-java">, and pasting it into build.xml. Next, edit fork="true" to fork="false". Note that you should ensure that all your files have been saved because even though normal exceptions should only cause the build to fail cleanly, some critical bugs (e.g. AWT-related deadlocks) in your app could cause the IDE to hang or crash.

  • Issue # 51545

    Описание:

    When working on multiple projects using different JDKs, JDK sources hyperlinked from the stacktrace of an exected project point to the wrong JDK. Note that stepping through JDK sources in the debugger is not affected by this issue.

    Workaround:

    If you experience this problem, limit work on projects to those using the same JDK at a given time. If you want to work on projects using a different platform, it is recommended that you restart the IDE.

  • Issue # 51819

    Описание:

    When attempting to rename a class by choosing Refactor > Rename, the file is renamed, but not the class or its constructors. Note that this issue only occurs when invoking the command from javadocs or comments and can lead to uncompilable source code.

    Workaround:

    If you experience this problem, rename the class by invoking the Rename command directly from class definition or variable declaration for the class you wish to rename.

  • Issue # 52026

    Описание:

    When attempting to import or edit already-imported VCS profiles from earlier 4.0 versions, various profile settings are missing or incorrect.

    Workaround:

    If you experience this problem, remove your existing versioned working directories from the Version Manager and add them again.

  • Issue # 51955

    Описание:

    When selecting folders or files that are included in a project in the Versioning window, the project's file-based actions are deactivated.

    Workaround:

    If you experience this problem, restart NetBeans and avoid using the Versioning tab or "Show Versions" contextual action to compile, run, or debug files.

To search for other known issues with NetBeans IDE 4.0, you can use this query.

Documentation

Documentation is provided for NetBeans IDE in the form of web-based guides and the IDE's built-in help system. In addition, you can refer to the following documents to help you get started:

For the complete NetBeans IDE documentation list, visit https://netbeans.org/kb/archive/index.html.

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

You can keep up to date on NetBeans IDE and interact with the NetBeans community by signing up for NetBeans project mailing lists at https://netbeans.org/community/lists/top.html#localised and at https://netbeans.org/community/lists/ (in English).

Not logged in. Log in, Register

Интегрированная среда NetBeans 4.0


Загрузка NetBeans 4.0
Резюме возможностей
Замечания о выпуске
Анонс
Профайлер
 

Связанные статьи

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