LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2015, 07:13 AM   #1
a22an
LQ Newbie
 
Registered: Oct 2015
Location: front of laptop
Distribution: opensuse
Posts: 18

Rep: Reputation: Disabled
install open jdk on debian 8.2?


how to install open jdk on debian 8.2?
 
Old 11-26-2015, 11:17 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,544

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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

Last edited by Timothy Miller; 11-26-2015 at 11:22 AM.
 
1 members found this post helpful.
Old 11-26-2015, 04:42 PM   #3
a22an
LQ Newbie
 
Registered: Oct 2015
Location: front of laptop
Distribution: opensuse
Posts: 18

Original Poster
Rep: Reputation: Disabled
thank you sir, what about open jdk 8?
 
Old 11-26-2015, 05:18 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,544

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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.

Last edited by Timothy Miller; 11-26-2015 at 05:19 PM.
 
Old 11-26-2015, 10:16 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,232

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
have you thought about READING the debian guides ????

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] both openjdk and oracle jdk on debian Reprovo Linux - Newbie 1 12-01-2014 08:01 AM
[SOLVED] jdk 1.6.0_21 libnpjp2.so Firefox 4 Debian desmatt Linux - Newbie 7 09-03-2010 11:42 AM
How to install JDK , Debian and in general... lumix Linux - Software 17 03-20-2007 12:24 PM
jdk for debian win2suse Debian 1 08-31-2006 11:46 AM
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration