LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install Java jdk and jre in linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-java-jdk-and-jre-in-linux-871324/)

BuhRock 03-27-2011 03:03 PM

How to install Java jdk and jre in linux
 
I just installed ubuntu 10.10 yesterday. I need java jdk and jre. It says I have some sort of open jdk? I'm not sure, but I downloaded the .bin folder and changed permissions, and then run the installer. It said it was done, but when I went back to javas website to verify it, it said I still was running the open jdk. Can someone help me?

phantom_cyph 03-27-2011 03:33 PM

JDK is a development kit, not the runtime environment needed to run programs like frostwire etc. Make sure you have JRE, it should be in your synaptic package manager.

knudfl 03-27-2011 04:28 PM

Welcome to LQ.

Sun Java 6 on Ubuntu 10.04 10.10 and later :
http://java.dzone.com/articles/sun-j...=toya256ForRSS
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
sudo update-java-alternatives -s java-6-sun

..


All times are GMT -5. The time now is 10:39 AM.