1. Download the latest JDK1.5 for Linux 64, the latest version is: jdk-1_5_0_22-linux-amd64.bin download path http://java.sun.com/javase/downloads/5u22/jdk (non-RPM Version)
2. Unzip to /opt/and create a soft link to the directory /opt/jdk -> jdk1.5.0_22/
3. Use the update-alternatives command , the system default java command points to the newly installed JDK to view the installed version of the Java version of the system
update-alternatives --display java
manually join our own installed java, and specify the priority is higher than the default (60 and 40 is manually assigned priority)
update-alternatives --install /usr/bin/java java /opt/jdk/bin/java 60update-alternatives --install /usr/bin/java java /usr/lib/Jvm/jre-1.6.0-openjdk.x86_64/bin/java 40
Set the Java command to the default for the newly installed JSDK
update-alternatives --config java
View the installed Javac version of the system
update-alternatives --display javac
Manually add our own installed javac and assign priority to the default
update-alternatives --install /usr/bin/javac javac /op t/jdk/bin/javac 60
Set the Javac command to default to the newly installed JSDK
update-alternatives --config javac
In recent years, the open source Linux system can be said to be in the limelight, whether it is pers
A.Linux files can be divided into four types: ordinary files, directory files, link files, and devi
nmap is a network port scanner. Its main function is to check a group of target hosts to see which
The following error message appears after starting vnc4server: LSPPC-Lenny:~# vnc4serverxauth: (stdi
Vim common commands and transformation to IDE
10 shortcuts under Ubuntu Linux
Basic tutorial on the installation and use of SNMP under centos
Three important data structures driven by linux character devices
Rsync parameter parsing and rsync server
Scp copying between Linux hosts without entering a password
Linux modify mysql data file path
Five ways to quickly access win10 system resources
Win10 shortcut keys use Daquan
Win8 built-in Metro application update
Win10 desktop version of Redstone 14295 updated what content
How to extend the display time of Win10 notification messages
Notebook win7 system uses its own firewall to prohibit the program automatic networking method
Win10 10061 version can not load Win32 application from the start menu?
Win10 10575 preview version is about to be released in internal testing
Microsoft disclosed Win8 system details: resource usage is less than Win7
Vmware virtual machine linux system expansion can not start redhat