0

I need to compile a Java Project into native code.

The target machine cannot run Java in any way (customer preference).

I have perviously successfully compiled the Application to an executable using Launch4J and Jsmooth, respectively. However, bundling the JRE with the application is not an option here.

What are my options?

Brian
  • 11
  • 3
  • 1
    [GraalVM `native-image`](https://www.graalvm.org/docs/reference-manual/native-image/), or [GCJ](https://en.wikipedia.org/wiki/GNU_Compiler_for_Java) (which is quite long in the tooth). – Elliott Frisch Feb 03 '20 at 17:16
  • Keep in mind, however, that [GraalVM has some limitations](https://www.graalvm.org/docs/reference-manual/native-image/#aot-compilation-limitations). – Turing85 Feb 03 '20 at 17:19
  • Thanks Elliott, Graal looks promising. – Brian Feb 04 '20 at 14:43

0 Answers0