Native Java?

Florian Weimer fweimer at redhat.com
Tue Dec 15 11:00:57 UTC 2020


* Scott Morgan:

>   I would like to hackup the open jdk to start a native executable that is
> essentially java but with a different native binary name.  Essentially it's
> everything java in the open jdk is but with a different OS process name.

If you want to supply your own main program, you should consider using
the invocation API:

  <https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/invocation.html>

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the discuss mailing list