Configuring Zero-assembler with the Shark compiler to use OpenJDK

Zero-assembler HotSpot port is the default Java VM for all newly-built OpenJDK instances on ARM prior to Java 8. It is the default Java VM for quite a few JIT-unsupported platforms. However, there is an effort to bring JIT power to it, named Shark.

Getting ready

We may need a real or emulated ARM device, which has Linux and any Java environment installed. We need Java to perform a javac compilation, which is a necessary part of the IcedTea building process.

How to do it...

  1. Let's download an IcedTea source.
    wget http://icedtea.wildebeest.org/download/source/icedtea-<icedtea_version>.tar.gz
    

    It will download an archive.

  2. Then, you can check a checksum.
  3. Let's unpack it and copy it into the ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.