Skip to content

Java-OS4 0.5.1

Choose a tag to compare

@derfsss derfsss released this 20 Jun 18:49

Java-OS4 0.5.1 — a Java 8 runtime for AmigaOS 4 (PowerPC): JamVM 2.0 + the
OpenJDK 8 class library, with a native AWT/Swing toolkit so Java GUIs run in
Workbench windows.

Installer asset updated 2026-06-20 — fixes a "Protect failed / object not
found" error during install (a chosen-destination trailing-slash bug that
produced SYS:Java//java). The runtime is byte-identical; only the bundled
installer changed. Verified on a real AmigaOne X5000. Re-download
JavaOS4-0.5.1.lha if you grabbed an earlier copy.

Install

Download JavaOS4-0.5.1.lha below, unpack it anywhere on your AmigaOS 4
machine, and double-click the Java-OS4 drawer to run the installer. Then from
a Shell: java -version, or java -cp examples/HelloJava.jar HelloJava. See the
README for full
install/run notes.

Requirements: AmigaOS 4 (PowerPC); clib4.library 2.1+ in LIBS: (the
installer bundles a copy if missing); Swing/AWT GUIs additionally need
graphics.library V52+.

What's new in 0.5.1

  • Fixes for the amigans.net 0.5.0 reports: Swing close-freeze, keyboard
    input in games
    , a class-version gate (Java 9+ bytecode is rejected cleanly
    with UnsupportedClassVersionError), clib4.library bundled + installed to
    LIBS:
    , and runnable example jars.
  • A package-organized Java 8 + Java 17 regression test suite (~800 assertions);
    14/16 Java-8 categories pass on the VM (see tests/CONFORMANCE.md).
  • clib4 is now an in-repo git submodule (AmigaLabs/clib4 development),
    including the AltiVec vec_strcpy page-overread fix.

Build from source: see docs/BUILDING.md.