Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

specify native library in java command line

863708Jun 14 2011 — edited Jun 15 2011
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?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 13 2011
Added on Jun 14 2011
2 comments
763 views