Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Anchor(gen_nat)>>Can I interface byte-compiled and native java code?

Anchor code interface Java native
0
Posted

Anchor(gen_nat)>>Can I interface byte-compiled and native java code?

0

libgcj has a bytecode interpreter that allows you to mix .class files with compiled code. It works pretty transparently: if a compiled version of a class is not found in the application binary or linked shared libraries, the class loader will search for a bytecode version in your classpath, much like a VM would. Be sure to build libgcj with the –enable-interpreter option to enable this functionality. The program “gij” provides a front end to the interpreter that behaves much like a traditional virtual machine.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123