New NetBeans offers Java 7

NetBeans version 7.0 offers Java 7 and improved Swing integration

Developers will be able to test-drive the next generation Java programming language by using the new version of Oracle's NetBeans IDE (integrated developer environment), released Wednesday.

"The main focus for this release has been providing support for the Java 7 standard edition," said Duncan Mills, senior director of product management for Oracle's application tools group. Mills claimed that NetBeans 7 is the first open source IDE to support the new Java (though JetBrains offers a beta of its IntelliJ IDE that also supports the draft specification).

The IDE has also strengthened its ties with a number of other popular software development management tools such as Git, and offers greater integration with other Oracle products, like the Oracle database and the WebLogic application server.

Oracle acquired NetBeans as part of its 2010 purchase of Sun Microsystems. Oracle already had its own Java IDE, JDeveloper. Since then, the company has redirected JDeveloper development to be more of a tool for enterprises to build Oracle Fusion-based applications, while maintaining NetBeans as a tool for the larger community of Java developers who may or may not use other Oracle software.

"The role of NetBeans is to acknowledge there is a huge Java user community out there who have no other relationship with Oracle at all. We want to provide support for those people to help Java grow and be more popular," Mills said. "There has to be a degree of competition to help to keep driving the market forward."

Oracle estimates that NetBeans is downloaded about 550,000 times a month and has somewhere between 800,000 and 900,000 regular users.

With NetBeans 7, developers will get the chance to test out the new version of Java, formally named the Java Platform, Standard Edition (Java SE) version 7.

"Java 7 introduces a whole bunch of constructs that are specifically aimed at making the language more concise and providing a better developer experience," Mills said.

One example is a revamped "switch" statement, which can now evaluate strings, in addition to numerical values. In prior versions of the language, "If you wanted to compare string values, you had to construct a nested 'if..else' statement to do that, which was, frankly, ugly," Mills said.

The IDE will also come with a set of help tools that will suggest ways that a new Java 7 construct could improve a body of code.

While the Java 7 specification is not expected to be finalized until July, Oracle will supply patches and updates to NetBeans 7 to cover any changes until its final ratification, Mills said.

Beyond support of Java 7, NetBeans 7.0 features a number of other enhancements.

The company has expanded its set of tools for production development. NetBeans is now compatible with version 3.0 of the open source Maven build system, which is used to manage multiple software projects. NetBeans also supports the latest version of JUnit testing framework, 4.8.2. And, for the first time, NetBeans has been integrated with the Git version control software.

This is also the first version of the software to include a set of annotations that would allow developers to use NetBeans as a run-time platform, a feature offered by the competing open source Eclipse IDE for several years. "It provides all those bits you always need for any sort of complex desktop application. You have the core part built for you in a pre-built fashion," Mills said.

Another group of improvements center around greater integration with other Oracle products. This is the first version of the software that allows developers to control Oracle's WebLogic application server from directly within the IDE itself, which can be handy in debugging a new program, Mills said. Oracle has also provided a number of tools to more easily build the connectivity between an application and an Oracle database.

NetBeans provides a developer environment for not only Java, but for other languages as well, such as PHP, JavaScript, Ajax, C and C++. The HTML editor now can work with HTML5 code. Support for the Spring user interface framework has been considerably upgraded.

NetBeans 7.0 is a free download for Microsoft Windows, Apple Macintosh, Linux, and Oracle Solaris.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Oraclesoftwareapplication developmentDevelopment toolsLanguages and standards

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?