Tech-Today
How to Install JDK 1.6 update 32 on Ubuntu 11.10
Currently Oracle prohibit the community from adding java to the linux repositories. So it needed to be manually download from oracle website and installed.
Java can be downloaded from:
From: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/
Steps to install java:
1.) Make the bin file executable:
chmod +x jdk-6u32-linux-x64.bin
2.) Extract the bin file:
./jdk-6u32-linux-x64.bin
3.) Move extracted folder:
sudo mv jdk1.6.0_32 /usr/lib/jvm/
4.) Install new java source in system:
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1
5.) Choose default java:
sudo update-alternatives --config javac
sudo update-alternatives --config java
sudo update-alternatives --config javaws
java version test:
java -version
6.) Verify the symlinks all point to the new java location:
ls -la /etc/alternatives/java*
-
Install Java8 In Ubuntu
A set of commands to install Java8 on Ubuntu. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Now set JAVA_HOME in the environment variables. sudo vi /etc/environment // add JAVA_HOME="/usr/lib/jvm/java-8-oracle"...
-
How To Dual Boot Windows 7 And Ubuntu 12.04 On Lenovo G480
Finally after trying out several configurations that didn't work I am now able to successfully boot a Windows 7 and Ubuntu 12.04 OS on a Lenove G480 laptop. First here's what didn't work: 1.) easyBCD doesn't work, Windows 7 will just...
-
How To Enable Remote Jvm Monitoring Using Jre's Built In Jconsole
This guide will help you setup a remote jvm monitoring tool using jconsole. The setup: 1.) Ubuntu 12.04 2.) Glassfish 3.1.2.2 3.) jdk1.6.0_32 Steps: 1.) In your glassfish's default domain1 domain.xml file, /glassfish_home/glassfish/domains/domain1/config/domain.xml,...
-
How To Start/stop An Application On Boot On Ubuntu Like Services.msc In Windows
There's an easy way now to configure what application runs on ubuntu's startup like services.msc in windows. Rather than adding/modify some configuration, we can install a simple GUI that can do the job. sudo apt-get update sudo apt-get install...
-
Replace Openjdk7 With Sun-java 1.6 In Ubuntu
Note that I'm using ubuntu 11.10 Oneiric Ocelot 1.) Execute the following commands: sudo apt-get install python-software-properties sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jdk sun-java6-plugin...
Tech-Today