Skip to main content

NetBeans 6.0 beta released

The NetBeans 6.0 beta has been released. I gave it a quick test on Ubuntu and it seems wonderful so far.

I loved the local history addition which was a feature I wanted from Eclipse. It seems to have a revamped editor and profiler is now included by default and improved.

On Windows I have Eclipse Europa and NetBeans 5.5.1 installed. For non-GUI Java coding I think that Eclipse is better, the compiler warnings are superb and really helpful.
But think about doing GUI work I think NetBeans has the edge, and now that 6.0 is going to have more Eclipse features that will help me switch.

I very much look forward to the 6.0 final release.

JavaLobby: NetBeans 6.0 Beta
NetBeans roadmap

Popular posts from this blog

Overcome Java JNI gdb errors on GNU/Linux

If you happen to try to debug any Java JNI programs using gdb on GNU/Linux you will soon come across error messages. For example : $ gdb --args java MyJavaProgramUsingJNI cannot find user-level thread for LWP nnn: generic error warning: Cannot initialize thread debugging library: versions of libpthread and libthread_db do not match The reason for this is that the java program mucks around with LD_LIBRARY_PATH and that prevents gdb from running correctly. To overcome this, you have to run your Java program and place a pause in the Java code, such as reading a key, and then in another shell, run gdb to attach to the running Java process. You can then set your breakpoint on your JNI code and debug it. Here is an example : Compile your Java program: $ javac JNITest.java Generate the JNI header file: $ javah -jni JNITest.java Create and compile your C code library: $ cat jnilib.c #include "JNITest.h" JNIEXPORT jint JNICALL Java_JNITest_addValues( JNIEnv...