LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 04-29-2020, 03:36 AM   #1
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 48

Rep: Reputation: Disabled
openjdk-8-jdk unable to locate package


I want to try out the prog portfolio performance, to get it runnung I need java version 8. I tried to install it but I get the following error code

Code:
$ sudo apt-get install openjdk-8-jdk
[sudo] Passwort für madmax: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket openjdk-8-jdk kann nicht gefunden werden.
madmax@Toshiba:~
How I can install openjdk version 8 on my notebook?
 
Old 04-29-2020, 04:14 AM   #2
shruggy
Member
 
Registered: Mar 2020
Posts: 531

Rep: Reputation: Disabled
What is the output of apt-cache pkgnames openjdk?
 
Old 04-29-2020, 05:36 AM   #3
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 48

Original Poster
Rep: Reputation: Disabled
Code:
$  apt-cache pkgnames openjdk?
madmax@Toshiba:~
$
 
Old 04-29-2020, 05:38 AM   #4
shruggy
Member
 
Registered: Mar 2020
Posts: 531

Rep: Reputation: Disabled
No, the command should be run without the ? sign:
Code:
apt-cache pkgnames openjdk
 
Old 04-29-2020, 05:42 AM   #5
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 48

Original Poster
Rep: Reputation: Disabled
Code:
$ apt-cache pkgnames openjdk
openjdk-11-demo
openjdk-11-source
openjdk-11-jre-headless
openjdk-11-dbg
openjdk-11-doc
openjdk-11-jdk
openjdk-11-jre
openjdk-11-jre-zero
openjdk-11-jre-dcevm
openjdk-11-jdk-headless
madmax@Toshiba:~
Code:
$ $ apt-cache pkgnames openjdk
bash: $: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-demo
bash: openjdk-11-demo: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-source
bash: openjdk-11-source: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-headless
bash: openjdk-11-jre-headless: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-dbg
bash: openjdk-11-dbg: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-doc
bash: openjdk-11-doc: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jdk
bash: openjdk-11-jdk: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre
bash: openjdk-11-jre: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-zero
bash: openjdk-11-jre-zero: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-dcevm
bash: openjdk-11-jre-dcevm: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jdk-headless
bash: openjdk-11-jdk-headless: Kommando nicht gefunden.
madmax@Toshiba:~
$ madmax@Toshiba:~
bash: madmax@Toshiba:~: Kommando nicht gefunden.
madmax@Toshiba:~
$ $ apt-cache pkgnames openjdk
bash: $: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-demo
bash: openjdk-11-demo: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-source
bash: openjdk-11-source: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-headless
bash: openjdk-11-jre-headless: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-dbg
bash: openjdk-11-dbg: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-doc
bash: openjdk-11-doc: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jdk
bash: openjdk-11-jdk: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre
bash: openjdk-11-jre: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-zero
bash: openjdk-11-jre-zero: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jre-dcevm
bash: openjdk-11-jre-dcevm: Kommando nicht gefunden.
madmax@Toshiba:~
$ openjdk-11-jdk-headless
bash: openjdk-11-jdk-headless: Kommando nicht gefunden.
madmax@Toshiba:~
$ madmax@Toshiba:~
bash: madmax@Toshiba:~: Kommando nicht gefunden.
madmax@Toshiba:~
 
Old 04-29-2020, 05:49 AM   #6
shruggy
Member
 
Registered: Mar 2020
Posts: 531

Rep: Reputation: Disabled
Quote:
Originally Posted by saturn1955 View Post
Code:
$ apt-cache pkgnames openjdk
openjdk-11-demo
openjdk-11-source
openjdk-11-jre-headless
openjdk-11-dbg
openjdk-11-doc
openjdk-11-jdk
openjdk-11-jre
openjdk-11-jre-zero
openjdk-11-jre-dcevm
openjdk-11-jdk-headless
madmax@Toshiba:~
As you can see, there're no openjdk-8-related packages provided by repositories configured and enabled on your system.

Last edited by shruggy; 04-29-2020 at 05:51 AM.
 
Old 04-29-2020, 05:52 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,175
Blog Entries: 9

Rep: Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920Reputation: 3920
^ I think we can ignore the second code box.
Did you look at it closely?

Anyhow, it seems openjdk-8-jdk is not available on AntiX 19 - at least not out of the box.
AntiX 19 is based on Debian buster, yes? I created a search for you.
 
Old 04-29-2020, 06:08 AM   #8
shruggy
Member
 
Registered: Mar 2020
Posts: 531

Rep: Reputation: Disabled
Interestingly, the repos of the sister distro, MX Linux, have the package: http://mxrepo.com/mx/repo/pool/main/o/openjdk-8/
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install The Latest OpenJDK 12, 11 or 8 in Ubuntu, Debian or RHEL Using Zulu OpenJDK Builds LXer Syndicated Linux News 0 04-20-2019 06:03 PM
Compiling java icedtea for openjdk 7 with openjdk 6 Alpha90 Programming 2 03-29-2015 01:32 PM
[SOLVED] Both java-1.7.0-openjdk and java-1.6.0-openjdk are installed ?? SharpyWarpy Linux - Software 2 01-16-2013 11:28 AM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 12:07 PM
openjdk-6-jdk vs official JDK? davidstvz Debian 3 09-22-2010 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration