Error while loading shared libraries during Java 1.6 Configuration in ubuntu
The above issue is due to missing command
sudo ./jdk-6u45-linux-x64.bin
Then copy command should be there.
jar: error while loading shared libraries: libjli.so [How to manually install Java 6]
I'm posting my solution on here in case anyone else runs into a similar problem and stumbles across this. I simply re-installed my OS, ran the steps again, and everything worked perfectly fine this time. I must have caused some sort of error on my machine as I ran the same exact steps too. Here is what I did to manually install Java 6 on a clean machine:
- Install Java 6(.bin format) from the Oracle website
- Give it executable permissons and execute it
- Add a jvm folder to usr/lib/
- Move your Java 6 folder to usr/lib/jvm
- Link java/javaws/javac to usr/bin using the ln -s command
Add your Java6 and Java/bin location to your path. For me its:
export JAVA_HOME=usr/lib/jvm/jdk1.6.0_45
export PATH=/usr/bin:$JAVA_HOME/bin
Error while loading shared libraries; cannot open shared object file: No such file or directory
I got this problem because my shared libraries depends on another shared library which works improperly.
Related Topics
How to Add a Recyclerview Inside Another Recyclerview
The Following Classes Could Not Be Instantiated: - Android.Support.V7.Widget.Toolbar
Create a New Folder Using Java Program on Windows and Linux MAChines
Find the Pid of a Java Process Under Linux
How to Get Unique Random Product in Node Firebase
How Set Background Drawable Programmatically in Android
Listview Onitemclicklistener Not Responding
Division in Java Always Results in Zero (0)
Change File Owner Group Under Linux with Java.Nio.Files
How to Run a Spring Boot Executable Jar in a Production Environment
How to Know Whether Enough Memory Is Free to Deploy a New Application on a Linux MAChine
Ioexception: Too Many Open Files
Using Visualvm to Connect to a Remote Jstatd Instance Through a Firewall
What Is This Date Format? 2011-08-12T20:17:46.384Z