Every time you install the Linux operating system, you need to download jdk, install jdk, set environment variables, it is very troublesome, write a script this time, get it at a time
view plain #!/Bin/bash
chmod u+x jdk-6u29-linux-i586.bin installPath=/usr/java if [ ! -d /usr/java ];then mkdir /usr/java fi./jdk- 6u29-linux-i586.bin -D /usr/java cp -R jdk1.6.0_29//usr/java/jdk1.6.0_29/
touch environment echo "PATH=\\"$PATH: /usr/java/jdk1.6.0_29/bin\\"" >> environment echo "JAVA_HOME=/usr/java/jdk1.6.0_29/bin" >> environment echo "CLASSPATH=.: %JAVA_HOME%/lib/dt.jar:%JAVA_HOME%/lib/tools.jar" >> environment rm -rf /etc/environment cp environment /etc source /etc/environment update-alternatives ——install /Usr/bin/java java /usr/java/jdk1.6.0_29/bin/java 300 update-alternatives ——install /usr/bin/javac javac /usr/java/jdk1.6.0_29/bin/javac 300 update -alternatives ——c Onfig java
zh-CN"],null,[0.97744501],zh-CN"]]]
For beginner Linux (me too), I dont want to mess with Linux in the virtual machine, and I dont want
One of the best things about Linux is that you can go deep into the operating system to explore how
DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addr
Do you know what a Linux system is? Some users dont know much about Linux. Linux is a free and free
Stack in Linux: User State Stack /Kernel Stack /Interrupt Stack
Linux Service Management Shorthand
Linux system old kernel method
Detailed Linux operating system using Windows partition
The principle of Windows CE cross-process memory injection
Linux/CentOS add/remove FTP users and set permissions
SUSE Linux login black screen solution
Create a CA self-signed certificate in Linux, CSR certificate signing request
How to set static IP address in CentOS 6.2
What if the win7 system server manager does not have the "local user and group" option?
Win10 system quick start task manager skills
Win7 system computer picture preview can not show the solution
How to use Recuva to recover Win8 files deleted by mistake
Win8.1 life cycle will be the same as Win8
Completely uninstall the two methods of Baidu input method
Win10 system closes the search page when the content prompts the tutorial
How to change the Chinese version of win7 into Chinese?
How to use free technology to upgrade win10 tutorial (win10 system activation)