[linux] Linux Disk Cache & Java Programma

lnx lnx op kpnmail.nl
Do Feb 22 23:49:06 CET 2018


Hallo Frans (& Daniel),

On 22/02/18 22:52, Frans van Berckel wrote:
> Hoi Fred,

<knip>


>> Waar haal jij *javac* vandaan?
> 
> Zoek op Debian packages content ....
> 
> https://packages.debian.org/search?searchon=contents&keywords=javac&mod
> e=path&suite=stable&arch=any
> 
> # apt-get install openjdk-8-jdk-headless

$ sudo apt-get install openjdk-8-jdk-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openjdk-8-jdk-headless


$ apt-cache search openjdk-8-jdk-headless

Niet te vinden!


$ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
deb https://packages.cisofy.com/community/lynis/deb/ jessie main
deb http://mirror.netcologne.de/linuxmint/packages betsy main upstream
import
deb http://ftp.nl.debian.org/debian/ jessie main
deb http://ftp.nl.debian.org/debian/ jessie-updates main
deb http://security.debian.org/ jessie/updates main
deb http://www.deb-multimedia.org jessie main
deb http://extra.linuxmint.com betsy main
deb http://deb.torproject.org/torproject.org jessie main


$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    LMDE 2 Betsy
Release:        2
Codename:       betsy


$ cat /etc/debian_version
8.10


$ rmadison -a amd64 openjdk-8-jdk-headless
debian:
 openjdk-8-jdk-headless | 8u131-b11-1~bpo8+1 | jessie-backports | amd64
 openjdk-8-jdk-headless | 8u151-b12-1~deb9u1 | stretch-security | amd64
 openjdk-8-jdk-headless | 8u151-b12-1~deb9u1 | stretch          | amd64
 openjdk-8-jdk-headless | 8u151-b12-1        | buster           | amd64
 openjdk-8-jdk-headless | 8u151-b12-1        | sid              | amd64
new:


Aha, staat blijkbaar in jessie-backports

(Stom toevallig heb ik het commando rmadison enkele weken terug
gevonden. Erg mooi commando trouwens!)


$ sudo apt-get -t jessie-backports install openjdk-8-jdk-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  openjdk-8-demo openjdk-8-source
The following NEW packages will be installed:
  openjdk-8-jdk-headless
0 upgraded, 1 newly installed, 0 to remove and 205 not upgraded.
Need to get 8,213 kB of archives.
After this operation, 39.3 MB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie-backports/main
openjdk-8-jdk-headless amd64 8u131-b11-1~bpo8+1 [8,213 kB]
[...]


$ javac Hello.java
$ java Hello
Hello World! Regards, Java


Opgelost en bedankt voor het 'sturen in de goeie richting'

Fred





Meer informatie over de Linux maillijst