Apache NetBeans

Monday February 03, 2020

Apache NetBeans 11.3-beta2 is Ready for Testing!

Eric Barboni, our Release Manager of 11.3, produced Apache NetBeans 11.3-beta2 build the other day. It is available for testing!

Those using the Snap distribution and would like to give it a try:

sudo snap refresh --channel=edge netbeans

Tuesday December 03, 2019

Released: NetBeans 11.2 Update 1

This release is identical to 11.2 except for backported fixes for:

[NETBEANS-3257] Fixed issue on refactoring rename of java method (and potentially other nb-javac issues)

[NETBEANS-3335] Enhance robustness of HTML Lexer - enter key doesn't work in certain files

[NETBEANS-3290] Fix common.xml causing layer build problems in RCP applications

Use the Plugin Manager under the Tools menu to update 11.2 to 11.2 Update 1.

Thursday January 24, 2019

Master Your Scripting Skills with the New Tutorial!

Enhanced scripting tutorial has just become part of Apache NetBeans documentation. It contains various examples showing how to communicate from Java with JavaScript, Python and other languages. The following topics are covered:

While the primary use-case for this enhanced scripting API is to simplify usage of scripting languages in NetBeans based applications, the API itself is standalone and can be used outside of NetBeans in any project. We are working on making it available in the Maven central repository.

Read more in the online tutorial.

Tuesday July 03, 2018

Apache NetBeans and Java EE Productivity in Burkina Faso

Last Saturday (June 30, 2018) I was invited to COFAN (Conférence au Faso sur le Numérique) to present tips for building enterprise Java applications. COFAN is a conference divided into multiple sessions on a variety of technologies. It was started last year and the second tour has been taking place since May and it is sponsored by the government of Burkina Faso.

I was given the opportunity to talk about enterprise Java in general and to show how NetBeans can be a great tool to develop strong and professional Java enterprise applications.

A room filled with an attentive audience was very enthusiastic. They were also satisfied by the answers to their questions, while some decided to continue using NetBeans, with others promising to start working with it for the first time!

Pictures of the event are below:

Dg89kZAW0AMSZYu.jpg room.jpg 36383483_10210031611501425_6227302090679517184_n.jpg

Tuesday March 06, 2018

New Apache NetBeans (incubating) Logo!

After a discussion and voting process on the Apache NetBeans (incubating) dev and user mailing lists... we have a new logo! Here it is:


Wednesday October 04, 2017

The case of the different jsch 0.1.54 binaries

As part of the Apache NetBeans IP clearance we are combing through all the code and dependencies.

One interesting thing we bumped into was that the jsch 0.1.54 binary JAR we are using has a different hash (and size) than the binary JAR from Maven Central.

The old hash is 0D7D8ABA0D11E8CD2F775F47CD3A6CFBF2837DA4, the new one is DA3584329A263616E277E15462B387ADDD1B208D.

The binaries are 278,612 bytes vs 280,515 bytes in Maven Central.

Our version is actually the same as the one found on http://www.jcraft.com/jsch/

Also, the Maven JAR is properly signed with the author's CA7FA1F0 key.

This is where it becomes clear that reproducible builds are important. You do not want to have to wonder why a binary differs, especially years later when you are doing a review. And this one is a library doing SSH!

So, why the different binaries?

It seems the original JAR was compiled on Aug 30, 2016 with Java 1.4 (major version 48) while the Maven Central JAR was compiled Sep 3, 2016 with Java 5 (major version 49).

The original JAR also concatenates strings using StringBuffer while the Maven Central JAR uses the newly introduced in 1.5 StringBuilder. Which should also be a bit faster since it's not synchronized.

Next, most of the cypher classes use some reflection via a static java.lang.Class class$(java.lang.String) method.

What is this? It's just the way class literals worked in Java 1.4. As explained here, in Java 5 the ldc_w instruction was introduced to load a Class object.

In 1.4 the class literal was helped by the compiler by actually introducing the helper Class class$(java.lang.String className) method and replacing the Person.class with a class$("Person") call.

It conclusion, it seems that excluding the Java 1.4 to Java 5 compiler changes, the two JARs are identical. With the Maven Central JAR even a bit better due to StringBuilder being used.

There is no check so far that the sources do produce the specific JAR. This is an exercise left for the reader.

Tuesday October 03, 2017

NetBeans Status Interview at JavaOne 2017

Watch this quick interview to learn about the status of the process at Apache NetBeans (incubating):

Screen Shot 2017-10-03 at 05.23.31.png

Click the pic above or go here to see the interview: https://www.youtube.com/watch?v=o5qDm0yS8mc

Saturday September 30, 2017

Introducing the Apache NetBeans Blog

Here, at last, is a community space for everyone working on Apache NetBeans, currently incubating, to post blogs.

I imagine this will be a place where we can announce new releases of Apache NetBeans, while it will also be a place for everyone to share their experiences and make all kinds of other announcements.

For example, did you know there's already an application created on top of Apache NetBeans? It is called YaMeter, read about it here.

Happy blogging everyone, at the brand new Apache NetBeans (incubating) blog.



Hot Blogs (today's hits)

Tag Cloud