[kepler-users] java exception

Chad Berkley berkley at nceas.ucsb.edu
Tue Apr 20 12:19:48 PDT 2010


Hi Santosh,

That error means that the java VM can't find the native library that you 
are linking to via JNI.  The library path is set when Kepler starts via 
the java.library.path command line argument.  It is currently set to 
common/lib (or common-2.0/lib for Kepler 2.0).  If you put your library 
in that directory, it should be found by kepler.

Let me know if that doesn't work for you.

chad


Jianwu Wang wrote:
> Hi Santosh,
> 
>     I'm not sure what causes your problem. So I forward it to kepler 
> user mailing list, hopefully some one else can help you.
> 
>     BTW: would you please explain more about the context of your 
> exception, such as concrete exception message, the sample actor you made 
> that doesn't work, the lib you are using? This will help us to find out 
> the reason of your problem.
> 
> Best wishes
> 
> Sincerely yours
> 
> Jianwu Wang
> jianwu at sdsc.edu
> http://users.sdsc.edu/~jianwu/
> 
> Scientific Workflow Automation Technologies (SWAT) Laboratory
> San Diego Supercomputer Center 
> University of California, San Diego
> San Diego, CA, U.S.A. 
> 
> 
> On 4/19/2010 2:51 AM, santosh k wrote:
>> Hi sir,
>>
>> I have created a new module in kepler2.0,which uses JNI(java native 
>> interface) to call some of the C-subroutines.
>> But when i run the workflow,i get an exception sayin that particular 
>> *JNI could not be initialised* cos it is not added to* java.lib.path.*
>> Pls suggest a solution,if you have any idea about this situation.
>>
>> With regards
>> Santosh
>>
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users



More information about the Kepler-users mailing list