Using Dynamic Working Sets in Eclipse

JDK Mission Control is quite modular. To help navigate the source, working sets come in quite handy. And for a more flexible way to define working sets, Oomph provide a very nice plug-in for constructing dynamic working sets, using rules and regular expressions.

To use, first install the Oomph Dynamic Working Sets plug-in into your Eclipse:
https://wiki.eclipse.org/Dynamic_Working_Sets#Download.2FInstallation

Next either start creating your own working sets, or start out with the ones I use:
https://github.com/thegreystone/jmc-dev-helpers

To edit/create the working sets, go to Preferences | Oomph / Dynamic Working Sets, and press Edit…

Once satisfied with the working sets, you can switch the Package Explorer to using the Working Sets as Top Level Elements:

workingset

Good luck!

JDK 11 on the Raspberry Pi

This is a very short post on what I ended up doing to get an OpenJDK 11 build for Raspbian on my Raspberry Pi 3.


  1. Get the latest JDK 11 build of the Liberica JVM (Debian package for ARM v7 & v8, provided by Bell Soft)
    The java download page is here https://www.bell-sw.com/java.html.

    For example:
    wget https://github.com/bell-sw/Liberica/releases/download/11.0.2/bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
  2. Install it

    For example:
    sudo apt-get install ./bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
  3. Set the defaults (if you want to)
    sudo update-alternatives --config javac
    sudo update-alternatives --config java
    

Done!

Note that this gives you access to an open version of JDK Flight Recorder on your Raspberry Pi. Woho! đŸ˜‰

You could, for example, use the flight recorder to record sensor information.

Another alternative would be using the Azul Zulu JVM, which also has a working Flight Recorder implementation in their JDK 11 arm32 builds.