LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install jdk in ubuntu? (http://www.linuxquestions.org/questions/linux-software-2/how-to-install-jdk-in-ubuntu-4175461682/)

xshbo 05-12-2013 08:43 PM

How to install jdk in ubuntu?
 
how to install jdk enviroment for ubuntu?

evo2 05-12-2013 09:48 PM

Hi,

use your package manager... Eg search for jdk, and install the corresponding package. If you want more specific instructions (eg the actual package name), you'll need to tell us which version of Ubuntu you are running.

Evo2.

xshbo 05-12-2013 10:18 PM

Thanks.The version is ubuntu 12.01.

evo2 05-13-2013 12:50 AM

Hi,

AFAIK there is no such version as 12.01. Perhaps you mean 12.10.

Also, did you try the steps I suggested? I did, and it seems that the package you are looking for (assuming Ubuntu 12.10) is "default-jdk". Do you know how to use your package manager?

Evo2.

xshbo 05-13-2013 10:08 AM

Hi,thanks a lot.Can you tell me how use the package manager?

jdkaye 05-13-2013 10:43 AM

Here you go:
https://help.ubuntu.com/12.10/server...anagement.html
Have fun!
jdk

P.S. I don't wish to be installed in ubuntu. ;)

srinietrx 05-14-2013 06:51 AM

In Terminal

Code:

sudo apt-get update
sudo apt-get install openjdk-6-jdk

or

Download synaptic package manager using

Code:

sudo apt-get install synaptic
In Dash Home(i.e left top button in ubuntu unity) search synaptic

In synaptic, search jdk
and install the package


All times are GMT -5. The time now is 03:13 PM.