Codename One Ships Native Linux App as a Single 5MB Binary for x64 and ARM

Codename One, an open-source framework for building cross-platform apps from Java or Kotlin, has released a native Linux desktop port that compiles to a single self-contained ELF binary. The framework's ParparVM tool translates Java and Kotlin bytecode to C, which is then compiled into a native binary requiring no JVM on the user's machine. The Linux port relies on widely available system libraries including GTK3, Cairo, Pango, GStreamer, and WebKitGTK, covering graphics, media, networking, and browser functionality. To ensure broad compatibility, binaries are compiled against glibc 2.17 from 2013, allowing them to run on virtually any mainstream Linux desktop. The optimized build strips unused code, keeping a typical app around 5MB while launching faster than many native GNOME applications.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in