有没有人成功地为 Eclipse 设置了一个组合的 Java/C++ 项目?
我想做的很简单;
1) Compile my Java sources
2) Run Javah to create the JNI interface
3) Compile all the C/C++ sources
4) Link native shared library + package the JAR
非常欢迎提供有用的提示甚至实际项目。
( eclipse 3.5)
最佳答案
http://www.cs.umanitoba.ca/~eclipse/8-JNI.pdf 我认为这就是您想要的。可能有点旧。
关于java - 使用 Eclipse 开发 JNI 应用程序(结合 Java/C++),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1624344/