Md. Naushad Alam
Md. Naushad Alam

Reputation: 8491

UnsatisfiedLinkError: no jcprov in java.library.path

I have setup soft Eracom Safenet HSM in Linux.

I am facing a problem regarding Safenet Eracom HSM, when ever I request for token initialization got this error

UnsatisfiedLinkError: no jcprov in java.library.path

Upvotes: 0

Views: 2742

Answers (2)

Md. Naushad Alam
Md. Naushad Alam

Reputation: 8491

Solution

I just added below path in .bashrc file for corresponding user.

export LD_LIBRARY_PATH=/opt/PTK/lib

Then restarted the terminal after that it worked nicely.

Upvotes: 0

Sumit Singh
Sumit Singh

Reputation: 15906

Add jcprov containing directory to LD_LIBRARY_PATH

export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/your/path/of/Containing/Directory

Upvotes: 1

Related Questions