February 24th, 2017

Container-friendly Alpine Linux may get Java port

Enterprise Architecture, Java Language, Linux, others, Programing, by admin.

Alpine Linux, a security-focused lightweight distribution of the platform, may get its own Java port. Alpine is popular with the Docker container developers, so a Java port could pave the way to making Java containers very small.

A proposal floated this week on an OpenJDK mailing list calls for porting the JDK (Java Development Kit), including the Java Runtime Environment, Java compiler and APIs, to both the distribution and the musl C standard library, which is supported by Alpine Linux. The key focus here is musl; Java has previously been ported to the standard glibc library, which you can install in Alpine, but the standard Alpine release switched two years ago to musl because it’s much faster and more compact

The Portola porting effort would be led by Mikael Vidstedt, a JDK 9 committer at Oracle. The proposal is still in its early stages of discussion, and the proposal has sparked questions. One member of the mailing list questioned the scope of the port, asking whether it would be handled as a new OS or a Linux version. He also questioned which architectures would be supported.

Vidstedt responded that project members would discuss how exactly to model the Alpine/musl port. But his preliminary investigation on Linux/64 did not uncover anything inherently specific to the CPU architecture, “so until proven otherwise I would assume that the musl-supported platforms is the limiting factor,” he said.

Back Top

Leave a Reply