Posts

Showing posts with the label JDK

[HOW TO] Install Oracle JDK 7 Manually in Ubuntu

Image
The Java Development Kit (JDK) is mainly a set of tools for running, compiling and debugging Java applications. There are a few other JDK, but in this article we'll see how to manually install the Oracle's JDK in any distribution from the Ubuntu family. The process consists of downloading the binary package, extract it and update the system so that the new version is used. By the way, if you installed the JDK via PPA, as described in my previous article , both can work alongside. The command update-alternatives can be used to choose one between them. Download The first step is to download the latest binaries package from Oracle's website . On the downloads webpage choose the JDK download button. On the next page you'll see list of several files, but you should focus your attention on two: The file name ends with i586.tar.gz or x86_64.tar.gz . If your system is 32 bits you should select the first one and select the latter if it's 64 bit...

Install OpenJDK 7 in [X]ubuntu 12.04/12.10

OpenJDK is the official Ubuntu supported solution for running and compiling Java programs. In this solution separated packages are provided for each need. Install Open a terminal window and run: sudo apt-get install openjdk-7-jre # to be able to run sudo apt-get install openjdk-7-jdk # to be able to compile sudo apt-get install icedtea-7-plugin # to be able to run applets on browser References Ubuntu package information

Install Oracle Java 7 in [X]Ubuntu 12.04 Precise via PPA

Oracle Java is the alternative to OpenJDK package, but is not longer available in Ubuntu repositories (due to some change in Java License). Oracle Java remains my choice because I find it to work better with some applications (specially java web applets). If you want to give OpenJDK a try, view here instructions to install it. “WebUpd8” team provides a PPA with one package that automatically downloads and installs Oracle Java JDK/JRE/Plugin 7 from its official website and installs it on your computer. Install Open a terminal window and run: sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update sudo apt-get install oracle-java7-installer References Web Upd8

Install Sun Java 6 SDK on Xubuntu 11.10

Since 11.10 (X)Ubuntu does not provide the sun-java-jdk package, to install it open a terminal window and type: 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 References: http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric