PDA

View Full Version : [ubuntu] How can I install java jdk7 on buntu 11.04 ?



hoboy
August 3rd, 2011, 06:09 PM
i have followed this link to install the jdk7.
http://download.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html
but when I use sudo update-alternatives --config java
that will give me possibility to chose jdk7, it seemed like that it is listed in the jdk installed.

YesWeCan
August 3rd, 2011, 07:04 PM
Download it from here http://www.oracle.com/technetwork/ja...ads/index.html (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
into the directory you want to extract it to. Then extract it. For example:
tar zxvf jdk-7-linux-x64.tar.gz