Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java JNI and DYLIB problem



Hello

I have developed java application. This application depends upon jni lib.
The application is downloaded to user machine using signed applet.
after downloading application start the downloaded java application. using
System.Runtime.exec() which create new VM. I set java.library.path to folder
where jnilib and dylib is copied. But while running the application java is
throwing error that it could not find dylib in library.path.

Then I copied dylib to root folder and it work. Why it so?
Even copying dylib in Library/Java/Extension does not work?
Even I try to change user working directory it does not work, why?

During development stage when application is run using command line it
works. But when application is executed using browser (IE) it does not work?
I have to copy dylib in user root directory "/".

Regards
Shashi
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.