Quais são os arquivos e diretórios instalados para o openjdk 8?

0

Instalei o openjdk no Lubuntu 18.04 por

$ sudo apt install openjdk-8-jdk

Os arquivos e diretórios que ele instalou em /usr/lib/jvm/ para openjdk-8 são

$ ls -la /usr/lib/jvm 
total 28
drwxr-xr-x   5 root root 4096 May 20 23:08 .
drwxr-xr-x 109 root root 4096 May 20 22:52 ..
lrwxrwxrwx   1 root root   20 Apr 26 11:59 java-1.8.0-openjdk-amd64 -> java-8-openjdk-amd64
-rw-r--r--   1 root root 2600 Apr 26 11:59 .java-1.8.0-openjdk-amd64.jinfo
drwxr-xr-x   7 root root 4096 May 20 23:08 java-8-openjdk-amd64

Quais são os três arquivos e diretórios para respectivamente?

Em particular, quais são as diferenças entre os dois diretórios?

$ ls -l /usr/lib/jvm/java-1.8.0-openjdk-amd64/ /usr/lib/jvm/java-8-openjdk-amd64/
/usr/lib/jvm/java-1.8.0-openjdk-amd64/:
total 20
lrwxrwxrwx 1 root root   22 Apr 26 11:59 ASSEMBLY_EXCEPTION -> jre/ASSEMBLY_EXCEPTION
drwxr-xr-x 2 root root 4096 May 20 23:08 bin
lrwxrwxrwx 1 root root   41 Apr 26 11:59 docs -> ../../../share/doc/openjdk-8-jre-headless
drwxr-xr-x 3 root root 4096 May 20 23:08 include
drwxr-xr-x 5 root root 4096 May 20 23:08 jre
drwxr-xr-x 3 root root 4096 May 20 23:08 lib
drwxr-xr-x 4 root root 4096 May 20 23:08 man
lrwxrwxrwx 1 root root   20 Apr 26 11:59 src.zip -> ../openjdk-8/src.zip
lrwxrwxrwx 1 root root   22 Apr 26 11:59 THIRD_PARTY_README -> jre/THIRD_PARTY_README

/usr/lib/jvm/java-8-openjdk-amd64/:
total 20
lrwxrwxrwx 1 root root   22 Apr 26 11:59 ASSEMBLY_EXCEPTION -> jre/ASSEMBLY_EXCEPTION
drwxr-xr-x 2 root root 4096 May 20 23:08 bin
lrwxrwxrwx 1 root root   41 Apr 26 11:59 docs -> ../../../share/doc/openjdk-8-jre-headless
drwxr-xr-x 3 root root 4096 May 20 23:08 include
drwxr-xr-x 5 root root 4096 May 20 23:08 jre
drwxr-xr-x 3 root root 4096 May 20 23:08 lib
drwxr-xr-x 4 root root 4096 May 20 23:08 man
lrwxrwxrwx 1 root root   20 Apr 26 11:59 src.zip -> ../openjdk-8/src.zip
lrwxrwxrwx 1 root root   22 Apr 26 11:59 THIRD_PARTY_README -> jre/THIRD_PARTY_README
    
por Tim 21.05.2018 / 05:16

0 respostas