nativeJava
nativeJava refers to Java code that is compiled into native machine code for a specific platform, rather than running on the Java Virtual Machine (JVM). This compilation process is typically done using tools like GCJ (GNU Compiler for Java) or Excelsior JET. The primary motivation for using nativeJava is to achieve performance improvements by eliminating the overhead of the JVM and JIT compilation.
When Java code is compiled natively, it can execute directly on the processor, potentially leading to faster
However, nativeJava compilation has drawbacks. It sacrifices Java's platform independence, meaning a compiled native executable will