java jni c++ problem

来源:百度知道 编辑:UC知道 时间:2024/06/04 05:38:16
xception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre6\bin\computation.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem

when I use java to call c++ dll,always display this mistake,who can tell me why,how to solve?

你看能找到C:\Program Files\Java\jre6\bin\computation.dll这个么?应该是链接错误,你的java没装好,或者环境变量没有配对。

JNI技术,不好意思,在学习的时候我把这个跳过了,哈哈

也许你的配置文件有问题,你应该好好看下.JNI的配置

I have never used Java invoking C++ dll, so ... I don't know...

哈哈,我也是学JAVA编程的,不错是刚学习的。不好意思啊。