Skip to main content

Dr.Java - an interesting lightweight IDE

http://www.drjava.org/

Dr.Java is an interesting little IDE that helps newcomers develop Java code. Although aimed at newcomers, it seems to have lots of advanced features. It could be a useful alternative to the larger IDEs like Eclipse and NetBeans.
I found it useful to create small projects and play around with compiling and easily interacting with Java code, without the hassle of creating a large project in a full featured IDE.

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

Some interesting September links

infoq presentation:  Building Your Own Java, Part 2 Apache Wicket 6 Released With Integrated jQuery Support infoq presentation: Transforming a 15 Year Old Model-driven Application from C++ to Java infoq: Innovation: What Every Developer Absolutely Needs to Know IBM developerWorks A Java actor library for parallel execution Deploying into the cloud with the IBM Application Pattern for Java Functional thinking: Tons of transformations