Recently, some users reported that after installing Ubuntu system, java was found to be unusable. No matter how to set up the installation directory of debugging jdk, Java could not be used correctly. How is this going? How to solve the problem of can‘t find libjava.so under Ubuntu system? Proposed
in /etc /profile or ~ /.bashrc under set JAVA_HOME and PATH can not prompt the above error message
1. Problem:
Error : could not find libjava.so
Error: Could not find Java SE Runtime Environment.
2. Try to solve
After trying a myriad of methods, still suggest the same Error message, then judge the problem with the idea.
3.Resolve the problem
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install Oracle-java8-installer
sudo update-java-alternatives -s java-8-oracle
4.java check
》》 java -version
< Java>TM Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31) -b07, mixed mode)
5. set java environment variables
sudo apt-get install oracle-java8-set-default
6. summarized < Br>
Directly use the commands provided by the system to install java, eliminating the need for complex configuration.
The above is the way to solve the problem of can‘t find libjava.so under Ubuntu. Through the above introduction, you should know how to solve this problem.
curl is an open source file transfer tool that can be used in Linux systems. If you
After installing Ubuntu 12.04 system, many users will prompt Ubuntu is running in low-graphics mode
On the browser page of the Linux system, the http request is not allowed. If there
We all know that it is easy to achieve remote access between the same systems, but
Linux prompts gzip:stdin:not when extracting tar.gz file?
Linux replacement hard disk has been mounted directory skills
How to solve the garbled problem after SecureCRT connects to Linux server
Linux method of cutting txt large files into small files through shell script
Summary of how to completely delete Linux files
Ubuntu 12.04 via XRDP Remote Desktop Method
How to use cgroups to manage CPU resources under Linux
How to use the ping command to diagnose the network in Linux system
Steps to install StarDict software on Linux
How to modify the color of the Linux system shell script output text
Explore the Win7 calculator, this product is not just a calculator!
How can Win7 not find the C disk system file?
Let Vista system only use the specified USB flash drive
Windows XP optimized superb 10 strokes
Win8/Win8.1 right click WD scan function
Some simple and practical network skills of Windows XP system
Deep understanding of your win7 system details