简体   繁体   English

从本地代码(不是J​​NI)调用java方法

[英]call java method from native code(not JNI )

i want to call java method through shell . 我想通过shell调用java方法。

main(argc,argv) call-> JAVA Md5 main(argc,argv)调用-> JAVA Md5

so i need call java method from the native code . 所以我需要从本地代码调用java方法。 but there isn't JNIEnv or JVM in pure native code . 但是纯本机代码中没有JNIEnv或JVM。 How could add JVM to the native code . 如何将JVM添加到本机代码中。

Terminal IDE might be what you're looking for: 终端IDE可能是您想要的:

http://code.google.com/p/terminal-ide/ http://code.google.com/p/terminal-ide/

It's using GPLv2 as its license 它使用GPLv2作为许可证

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM