JRE is the abbreviation of Java Runtime Environment, is the Java runtime environment, as a Java programmer, to use Java you must first install and configure the Java runtime environment, the following small series will introduce you how to install Ubuntu JRE.
Installation Steps
First download the JRE and open http://www.java.com/en/download/linux_manual.jsp? locale = en (oracle on the website I used to get on the line) can see the following link
Click for download 46.0MB get a link that jre-7u25-linux-i586.tar The .gz tarball is decompressed using the following command:
tar -xzvf jre-7u25-linux-i586.tar.gz
Then get a jre1.7.0_25 directory (the specific version is based on the actual situation) ), as follows:
is then copied to the directory /usr /lib /java directory.
Next you need to use vim or gedit to modify the /etc/environment configuration file. Add the following environment variable to this file:
JAVA_HOME=“/usr/lib/java/jre1 .7.0_25”
CLASSPATH=“$JAVA_HOME/lib”
PATH=“$JAVA_HOME/bin”
After saving, use the following command to further install this Jre
sudo update-alternatives --install /usr/bin/java java /usr/lib/java/jre1.7.0_25/bin/java 300
This installs this jre However, there may be multiple jres in the system. So if the system decides which one to use as the default jre, you need to use the following command:
sudo update-alternatives --config java
jre then prompted to select it, as shown below:
Note: just type java -version command to display the correct configuration successful!
At this point, jre is installed
The above is the Ubuntu installation JRE step, after installing the JRE, remember to use the command to configure the JRE, if you do not know how to configure, However, refer to the method described in this article.
If you are using a cloud server, the website will not open, so most of the vps port
If you need to compare the contents of the system file, then you will use the diff command, you can
Ubuntu installed graphics driver is sometimes not so smooth, will prompt an error and cause Nvidia d
Raid is divided into software Raid and hardware Raid. Because the hardware Raid is
Linux steps to use Windows documentation
Linxu system uses SSH to report Access Denied. What should I do?
Ubuntu uses the command to refresh the DNS cache. Step
Linux Container File System Step
CentOS uses the split command to split the file instance
Detailed examples of Linux dynamic library generation
Linux system smbclient command usage
How Linux optimizes performance by modifying parameters
RedHat/CentOS 7 Steps to Manage the Network Through the nmcli Command
RPM Software Package Operation Guide
Win7 system open control panel can not find "bitlocker drive encryption" how to solve
Office2016 (Office16) PC public beta open download
Win7 system startup failure error message 0XC000000F how to do?
How to set and close Win8 filter function
Windows Phone 7 players can play online in real time
Win7 system set the secret of the timed shutdown
Win7 install Office prompt 1603/1902 error how to do
Win10 dvd player six major solutions
Replacing the motherboard does not require reinstalling the Windows XP system.
Vmware virtual machine boot screen speed is too fast solution