Here is my container environment and configuration
As you can see the JVM and the Linux are both 64-Bit. The library location also has 64Bit liars3wapi64.so file available and that is what I have set as LD_LIBRARY_PATH using the following 2 commands in dockerfile.
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ibm/ondemand/V10.5/www:/opt/ibm/ondemand/V10.5/lib64ENV CLASSPATH=/opt/ibm/ondemand/V10.5/www/api/ODApi.jar:${CLASSPATH}
However, during initialization I am getting the below error where it is reading the 32-Bit library.
Caused by: java.lang.UnsatisfiedLinkError: /opt/ibm/ondemand/V10.5/www/libars3wapi32.so: /opt/ibm/ondemand/V10.5/www/libars3wapi32.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
I am not sure how to force the JVM to look for 64-Bit library. I have spent too many hours and haven't seen any difference in the outcome. Would appreciate any hint. Thanks.
Force 64-Bit JDK/JRE to pick the 64-Bit library on Linux
158 Views Asked by Kabira Speaking At
0
There are 0 best solutions below
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in DOCKER
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Only the first SQL script gets executed inside Docker Postgres container
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Compiling eBPF program in Docker fails due to missing '__u64' type
- AttributeError: module 'numba' has no attribute 'generated_jit'
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Docker on Multipass VMs: Connecting worker nodes to swarm results in rcp error
- Facing error in creating image of my react+vite project . Dockerfile error
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Docker container unable to make HTTPS requests to external API
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
Related Questions in JAVA-11
- About installing openjdk on Fedora workstation
- Eclipse-Maven Forcefully Overwrites Java Version Set Every Update Project
- Issues with the JRE when attempting to open an AEM instance by using JDK 11.0.19 on Ubuntu
- After upgrading to JDK 11 my SOAP response is different
- Problems setting up a new quarkus project on Mac
- In intellij while creating new spring project nit able to see java version below 17
- Lombok AnnotationProcessor failing with Bazel build
- Running test throws NoSuchMethodError
- OracleDataSource cannot implement createConnectionBuilder() in javax.sql.Datasource
- What is the best approach to access concrete sub class specific methods using java?
- Why does LazyInitializationException get thrown on non linked entities?
- Is there a way to make keep-alive setting specific to one instance of java.net.http.HttpClient
- Could not initialize class org.apache.pulsar.jetty.tls.JettySslContextFactory
- RHEL9, OpenJDK 11, FIPS - issues with PBES2 ciphers
- Trouble with setting up Java modules in Apache NetBeans 20 Flatpak Installation, on Linux Mint 21.3 Virginia
Related Questions in LIBRARY-PATH
- Why did RUNPATH get added to this executable?
- ceres-solver-2.0.0 cmake : No rule to make Target***
- Custom library path for binaries included in Android app
- Cannot run R script which is in the local directory
- Probelms downloading and opening packaging, lib not specified
- Force 64-Bit JDK/JRE to pick the 64-Bit library on Linux
- How do I set LD_LIBRARY_PATH using gradle?
- Alternative to manually adding -I..library paths for every folder to tasks.json for the rest of my life?
- java.library.path not set as LD_LIBRARY_PATH
- How can I add an environment entry for _all_ project targets?
- How to set cdll search path at build time?
- R installation won't let me open packages library issue
- How to specify path for dlls a dll library uses in c++?
- Add path for native library at runtime in Java regarding non modular and modular projects
- Xcode can't find or include SDL2
Related Questions in JAVA-NATIVE-LIBRARY
- GrallVM native-image build error "java.lang.NoSuchMethodException: sun.invoke.util.ValueConversions.booleanToİnt(boolean)"
- How to convert jeprof output to human readable format?
- How do I configure jpackage to use native libraries on Linux
- How Use Native Library Existing (.a) and (.h) file to android?
- Force 64-Bit JDK/JRE to pick the 64-Bit library on Linux
- Xamarin Android Mapping field Java.Lang.Enum to C# Enum
- Use of Conscrypt library
- Load Android Native library with Java reflection
- How can I set java.library.path in gradlew installDist
- Is it possible to make a native in pure Java using python?
- JNI: SIGSEGV when calling native function from Java, after native registration of same function on library second opening
- spark.driver.extraLibraryPath override original library path
- how to find the native c++ function who called a java method in a android app and in which library?
- Can't find native libraries used by apk on my phone
- Mapping JNA Java to Native C Shared Library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?