Forum Stats

  • 3,874,212 Users
  • 2,266,682 Discussions
  • 7,911,769 Comments

Discussions

specify native library in java command line

863708
863708 Member Posts: 25
edited Jun 15, 2011 4:17AM in Java Desktop Applications
My application is :
1. packed into 1 jar file
2. use sqljdbc4.jar
2. use a native library: "Microsoft SQL Server JDBC Driver 3.0".(use it in Ecplise and it works fine)
3. run by this command: "java -jar myapp.jar".

java version is jdk1.6.0_23

btw: I config all the class paths in the manifest.mf file

My application is failed to run, since it cannot find the native library. How/where to specify the native library location?

Answers

This discussion has been closed.