Topic: 调用dll的问题 |
Print this page |
1.调用dll的问题 | Copy to clipboard |
Posted by: sqsq1111 Posted on: 2006-01-20 16:26 我用jni调用VC编写的DLL, public class testJni { static { System.loadLibrary("ps"); } public native int et(String a,String b,String c); } 写了一个java类 然后编译 javac testJni.java 通过 接着 javah testJni 就报 Error: Class testJni could not be found. 请问是怎么回事啊~? |
2.Re:调用dll的问题 [Re: sqsq1111] | Copy to clipboard |
Posted by: chuchunfeng Posted on: 2006-01-21 12:02 要指定classpath javah -classpath . testJni |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |