Skip to content
@jarrunner

jr

jr

Run your Java app like a native program.

jr is a small native launcher for Java apps on Windows and macOS. Your jar gets its own exe or Mac app with your name and icon. jr finds Java or downloads it, starts the app faster from the second run, and can update it in place.

curl.exe -fLo jr.exe https://github.com/jarrunner/jr/releases/latest/download/jr.exe
.\jr.exe myapp.jar

On macOS: curl -fsSL https://github.com/jarrunner/jr/releases/latest/download/install.sh | sh, then jr myapp.jar.

For your Java app

  • jr: the launcher, for Windows (x64, ARM64) and macOS (Apple silicon, Intel).
  • jr-maven-plugin: builds your app's own exe and macOS app from mvn package.
  • jr-apputils: gives your app its own install and update commands, with no installer.
  • aot: trains a useful AOT cache on your whole app, not on --help.

How jr is built: jr is written in Java and compiled to a native program through TeaVM's C backend, with teavm-c-maven-plugin, teavm-native-check, bindings generated by our jextract fork, and our TeaVM fork.

jarrunner.github.io · Getting started · Apache License 2.0

Popular repositories Loading

  1. jr jr Public

    Run your Java app like a native program: its own exe or Mac app, Java found or downloaded, AOT startup, self-update. Windows and macOS.

    Java 8

  2. aot aot Public

    Train a JDK AOT cache on what your Java app really does, not on --help. Dependency-free companion to jr.

    Java

  3. jarrunner.github.io jarrunner.github.io Public

    The jarrunner home page, and the download folder of jr's example app.

    HTML

  4. jr_legacy_c jr_legacy_c Public archive

    The original C implementation of jr. The maintained jr is jarrunner/jr.

    C

  5. teavm teavm Public

    Forked from konsoletyper/teavm

    Compiles Java bytecode to JavaScript, WebAssembly and C

    Java

  6. teavm-native-check teavm-native-check Public

    A javac plugin that turns the native-memory rules of a TeaVM C-backend project into compile errors.

    Java

Repositories

Showing 10 of 13 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…