how can i solve the problem
I put my file in WEB-INF\classes\jnid\native.dll
and load the dll by below code nut still problem is same
System.setProperty("java.library.path", "C:\Tomcat5 webbapps\ROOT\WEB-INF\classes\jnid");
System.loadLibrary("Nativ");
also set path :-
set JAVA_OPTS=-Djava.library.path=c:\Tomcat5\webapps\ROOT\WEB-INF\classes\jnid
set LD_LIBRARY_PATH=c:\Tomcat5\webapps\ROOT\WEB-INF\classes\jnid
java.lang.UnsatisfiedLinkError: readHDSerialNo
jnid.HDSerialNo.readHDSerialNo(Native Method)
jnid.HDSerialNo.(HDSerialNo.java:4)
jnid.HDSerialNumber.(HDSerialNumber.java:2)
org.apache.jsp.test_jsp._jspService(test_jsp.java:46)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.serv
2007-02-20
22:29:29
·
1 answers
·
asked by
pri_salotan
1
in
Computers & Internet
➔ Programming & Design