I have ubuntu 12.04 LTS version 64 bit . what is the procedure for installing and running Java for development purpose. I am new to Linux and Unix platform. Thanks in advance
|
|
If you are connected to internet then just click on the "Ubuntu Software Center" and type Java in the search box, you will find Java IDE's in result. choose one that you were looking and select Install. |
||||
|
On the command line, type:
OR 1) Goto http://www.java.com/en/download/linux_manual.jsp 2) Download the 64-bit package. Installation: Change to the directory in which you want to install. Type: cd For example, to install the software in the /usr/java/ directory, Type: cd /usr/java/ Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions. Move the .tar.gz archive binary to the current directory. Unpack the tarball and install Java tar zxvf jre-7u7-linux-x64.tar.gz The Java files are installed in a directory called jre1.7.0_07 in the current directory. In this example, it is installed in the /usr/java/jre1.7.0_07 directory. When the installation has completed, you will see the word Done. Delete the .tar.gz file if you want to save disk space. |
|||||
|
|
For my it's much easier to install it from software center, just go to development category java already there, Click to read more information i recommend you, if you need special kind of java, because ubuntu offers an Open JDK |
|||
|
|
