LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install open jdk on debian 8.2? (https://www.linuxquestions.org/questions/linux-newbie-8/install-open-jdk-on-debian-8-2-a-4175559937/)

a22an 11-26-2015 06:13 AM

install open jdk on debian 8.2?
 
how to install open jdk on debian 8.2?

Timothy Miller 11-26-2015 10:17 AM

Well, first what version do you want? 7 and 8 are both available on Jessie (assuming you use backports). If you want it for browser support, you'll want 7 (icedtea-8 still MIA).

Code:

apt-get install openjdk-7-jdk
If you just need a runtime environment to run java applets and not develop java programs, you can install jre instead of jdk.

Will get you the runtime environment and the development kit installed, which will more than likely cover whatever you need java for. If you also want the plugin for iceweasel then

Code:

apt-get install icedtea-plugin

a22an 11-26-2015 03:42 PM

thank you sir, what about open jdk 8?

Timothy Miller 11-26-2015 04:18 PM

openjdk-8-jdk if you need the development kit and all, openjdk-8-jre if you just need the runtime. Presently, Debian doesn't offer icedtea-8-plugin so the automated install of the browser plugin is not currently supported through apt.

John VV 11-26-2015 09:16 PM

have you thought about READING the debian guides ????

https://www.debian.org/support
https://www.debian.org/doc/


All times are GMT -5. The time now is 03:09 AM.