Linux and Java are 64 bit. The native library is 32 bit. Any workaround?

Folks,
I am trying to run some java cipher/decipher programs that rely on native code (code which connects through the network to an HSM box).
The issue is that theboth Linux kernel and JVM are 64 bit. But the native library seems to be 32 bit. I get the following message when trying to run the sample:
Exception in thread "main" java.lang.UnsatisfiedLinkError: jcryptoki (/opt/Eracom/lib/libjcryptoki.so: wrong ELF class: ELFCLASS32)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:981)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)
at java.lang.System.loadLibrary(System.java:453)
at jprov.cryptoki.Cryptoki.<clinit>(Cryptoki.java:38)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at au.com.eracom.crypto.provider.ERACOMProvider.<clinit>(ERACOMProvider.java:329)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at SHA512Generator.main(SHA512Generator.java:10)Is there any workaround or should I contact my HSM vendor and ask for a 64 bit version of this native library?

Is there any workaround or should I contact my HSM vendor and ask for a 64 bit version of this native library?That would certainly be the best step so it should certainly be the first one.

Similar Messages

  • Installation of Flash stops after 30% complete, plugins and java are enabled in the browser and all browsers are closed.

    installation of Flash stops after 30% complete, plugins and java are enabled in the browser and all browsers are closed.

    Hi,
    I'm assuming you're machine is OS X (please include this in the future, avoids assumptions).  Are you using anti-virus software, if so, if you stop/exit the anti-virus software, does the installation proceed?
    If not, or if the installation still does not proceed after stopping the anti-virus software, please try the offline installer, posted at the bottom of the Installation problems | Flash Player | Macpage, in the 'Still having problems' section.
    Maria

  • Oracle Linux and Java 7u10

    Hi all,
    I installed Oracle Linux Server 6.3 selecting "software Development System" (java 1.6.0 comes with it).
    but I need to use Java 1.7
    So I downloaded jdk-7u10-linux-x64.rpm
    when I try to install it, I get the following error.
    Unpacking JAR files...
         rt.jar...
    Error: Could not open input file: /usr/java/jre1.7.0_10/lib/rt.pack
         jsse.jar...
    Error: Could not open input file: /usr/java/jre1.7.0_10/lib/jsse.pack
         charsets.jar...
    Error: Could not open input file: /usr/java/jre1.7.0_10/lib/charsets.pack
         localedata.jar...
    Error: Could not open input file: /usr/java/jre1.7.0_10/lib/ext/localedata.pack
    I can't uninstall java 1.6 because other rpm uses it.
    Can someone tell me what the "proper" way to install Oracle Linux and Java 1.7 should be?
    OR is there a Oracle Linux Server 6.4 coming out soon with Java 1.7 as its default package set ;-)
    thanks in advance,
    c.w.

    You can ignore the errors. The files named in the error lines do not exist in the rpm package, but are there as .jar files
    The following works under Oracle Linux 6.3 x86_64 (and probably other versions).
    1. Open the following URL in a web browser on your PC:
    <pre>
    http://www.oracle.com/technetwork/java/javase/downloads/index.html
    </pre>
    2. Click the JDK download button, accept the license agreement and download the JDE rpm package.
    3. Copy the following file to your Oracle Linux server (SFTP):
    <pre>
    jdk-7u10-linux-x64.rpm
    </pre>
    4. Login as root and use the YUM utility to install the RPM package.
    <pre>
    # yum install ./jdk-7u10-linux-x64.rpm
    </pre>
    5. Register the new installed java version, then change your default Java:
    <pre>
    # alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_10/bin/java 2
    # alternatives --config java
    </pre>
    Display your default Java version:
    <pre>
    # java -version
    java version "1.7.0_10"
    Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
    Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
    </pre>

  • What versions of Linux and WIndows are supported?

    I have looked on the web site, and cannot find what versions of Linux and Windows are supported? Most of the documentation just says Linux and/or Windows, with no referenence to version.
    My specific questions are for Oracle Personal server:
    Is it supported on
    Windows XP Professional
    Windows XP Home Edition
    Red Hat Linux 7.3
    Red Hat Linux 7.2
    Red Hat Linux 8.0
    Red Hat Linux 9.0
    RHEL 3.0
    If yes to all or some, what is the best OS/Version to install the Oracle Personal Server on? Considering performance? Ease of install and use?
    Thanks,
    Tomas

    Joel:
    Thanks. But, when I tried to create an acct in metalink section, it said I needed a "support identifier". When I researched this, it seems I can only get a "support indentifier" if I have a valid support contract.
    Now, that seems a bit of "the cart before the horse", as I am thinking of buying the Oracle Personal Server, but have not.
    And want to know supported platforms before I do buy. But, now it seems I have to buy, to get my pre-sales question answered.
    Is there another place I can find this info, possibly a pre-sales area of the oracle web?
    Rgds,
    Tomas

  • Install Java (1.4) and Java (1.5) on the same Windows XP mc reqd for 2 apps

    I have a requirement to install 2 different versions of Java (1.4) and Java (1.5) on the same Windows XP machine. There are 2 applications one uses Java (1.4) and the other Java (1.5)
    Both the application is run by taking the JAVA Path , Classpath specified in the Environment variables on the Advanced tab in My Computer. How to achieve it ? Immediate help is required. Thanks in advance.

    {color:#ff0000}{size:20px}CROSS POSTED{size}{color}
    [http://forums.sun.com/thread.jspa?threadID=5333227]
    Cross posting is rude.
    db

  • I have some albums that only a few tracks are recognized and others are not.  The difference in the info is that the pc recognizes the tracks that say aac matched and not the ones that say aac file.  how can I fix that.

    I have some albums that only a few tracks are recognized and others are not.  The difference in the info is that the pc recognizes the tracks that say aac matched and not the ones that say aac file.  how can I fix that.  I have tried to creat new file but the message unknown error (-50) pops up.  Also these files have played in the past

    We usually advice first to Reload web page(s) and bypass the cache in case of such problem and then do a check for extensions to see if any are causing the problem.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Other possible causes can be zooming a page or having increased the minimum font size.
    *http://kb.mozillazine.org/Websites_look_wrong

  • Need to backup and remove photo library form my iphone.  This library was previously backup on a hard drive that crashed.  So these photos are only in the photo library and not in the camera roll.  If I do a full backup, it only takes the camera roll.

    Need to backup and remove photo library from my iphone.  This library was previously backup on a hard drive that crashed.  So these photos are only in the photo library and not in the camera roll.  If I do a full backup, it only takes the camera roll.
    So this is a 2 part question:
    1) how to I backup the Photo Library to my new hard drive (as the last one was unrecoverable but previously backed up)
    2) how do I remove the Photo Library form my phone (preferably after backup in item 1)
    Thanks, Janis

    Since it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer.  As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
    You can try and find 3rd party applications that might help you.  I'm sure you'll pay, however.
    Let this be a very important lesson learned.
    Best.

  • "File" and "View" are missing from the ribbon in Excel, MS Office 2011, please help!

    "File" and "View" are missing from the ribbon in Excel, I'm running MS Office 2010.  Please help!

    Post your question on the MS Mac forums as it's their software you're having issues with:  http://answers.microsoft.com/en-us/mac?auth=1

  • Ipad takes photo every time I close the cover of its case. When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding.

    When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding. It is just gobbling memory and annoying as I can only delete these pictures one at a time.

    It seems to take a picture of the counter top = I do not see the keyboard.
    I am wondering ....It may be a kids game app that takes pictures of the screen or out the back camera. I am starting to think it may just be a sound effect when placing the iPad on its screen. So many things that may be unrelated but coincedental. It started in May (the sound) and so did the multiple pictures - starting to think they are not related.
    Thanks for the quick tip on deleting multiple pictures.

  • Where are the bullets for adobe. im creating a document and they are not in the toolbar

    where are the bullets for adobe. im creating a document and they are not in the toolbar

    ADOBE PRO   I JUST GOT IT A FEW MONTHS AGO

  • HT5706 I just purchased an AppleTV and am trying to connect AirPlay with my mac (2012 model) In 'system preferences displays' an airplay menu is listed but it says 'no device detected'. My AppleTV and macbook are connected to the same network. Any help?

    I just purchased an AppleTV and am trying to connect AirPlay with my mac (2012 model) In 'system preferences > displays' an airplay menu is listed but it says 'no device detected'. My AppleTV and macbook are connected to the same network. Any suggestions why it is not working?

    Troubleshoot the network as that is likely what is causing the issue.
    Also, temporarily disable the firewall on the Mac and disable IPV6 on the computer.

  • I have a iPod Nano, when it is connected to my laptop all my songs and books are there but when it is disconnected from laptop, some books and songs are missing from the library

    I have a iPod Nano, when it is connected to my laptop all my songs and books are there but when it is disconnected from laptop, some books and songs are missing from the library

    I have a simlar issue like this when loading my movies to my iTouch. iTunes says that all of your wanted content is sync and your iPod says that all content wasn't synced, is that what you are saying?

  • TS3274 My iPad has a white screen after trying to restore.  I try and restore again and  the same thing happens and we are back at the white screen.  How can I get it back.

    My iPad has a white screen after trying to restore.  I try and restore again and  the same thing happens and we are back at the white screen.  How can I get it back?

    type HT4097 in the search bar. its unable to update or restore iOS. Follow the instructions and if that does not work then id go to the local apple store.

  • I bought an iphone 4 used. I installed ios7 before I realized that the previous owners e mail and password are still in the phone. How can I remove this so that I can use the cloud and "find my phone " features?l an

    I bought a used iphone. I installed ios 7 before I realized that the previous owner's email and password are still in the phone. How can I remove them so that I can use the icloud and "find my phone" feature?

    Thanks so much! It will be kinda weird to contact the person directly, but I guess I will give it a try. Is there anything that I can refer her to in this discussion to let her know I am legit, and not a creeper? Also, I don't know if you can answer this or not. When I plug my phone into itunes, and it says that it is backing up, does that mean that it is going into the other person's cloud, since I cannot access it?

  • I bought the Airport Extreme because I thought it would increase the range of the WiFi signal in my house. I have a DSL modem (also Wifi) and there are parts of the house that do not seem to have a strong Wifi signal.

    I bought the Airport Extreme because I thought it would increase the range of the WiFi signal in my house. I have a DSL modem (also Wifi) and there are parts of the house that do not seem to have a strong Wifi signal. The Airport Extreme does not seem to be increasing my Wifi signal strength? Any thoughts on what I could be doing wrong? I am able to connect to it, etc. Just thought the strength would be better.

    The broadcast power of all wireless routers and devices is limited by law.....and all manufacturers run their routers full blast.....so the relative signal strength of wireless routers from one manufacturer to another will tend to be remarkably similar.....despite the fancy advertising claims.
    You may want to consider adding another AirPort Extreme to "extend" the signal strength in your home. If you decide to do this, the "extending" Extreme would normally need to be located at a point that is approximately half the distance from your "main" AirPort Extreme and the general area that needs more wireless coverage.

Maybe you are looking for