Calling Java from C program -


how call java methods c program? i.e. possible embed java (not necessary sun/oracle jvm) in other language?

a full oracle jvm large chunk pull existing program, doable recommend against if of following apply:

  • you need pull lot of data in , out of jvm on frequent basis. expensive.
  • you not in full control of operating system , jvm use.
  • you not experienced c programmer. debugging these things can hard.

you might find jamvm - http://jamvm.sourceforge.net/ - interesting alternative. small interpreter written in c, may lot easier handle. have not tried embedding it.


Comments