LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 06: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, 10:17 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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 10:22 AM.
 
1 members found this post helpful.
Old 11-26-2015, 03: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, 04:18 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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 04:19 PM.
 
Old 11-26-2015, 09:16 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

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

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


Reply



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 07:01 AM
[SOLVED] jdk 1.6.0_21 libnpjp2.so Firefox 4 Debian desmatt Linux - Newbie 7 09-03-2010 10:42 AM
How to install JDK , Debian and in general... lumix Linux - Software 17 03-20-2007 11:24 AM
jdk for debian win2suse Debian 1 08-31-2006 10:46 AM
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 04:26 AM

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

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

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
Open Source Consulting | Domain Registration