O pacote do oracle também funcionou para mim.
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-9-oracle/bin/java 1091 auto mode
* 1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
2 /usr/lib/jvm/java-9-oracle/bin/java 1091 manual mode
Press <enter> to keep the current choice[*], or type selection number:
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$ sudo find / -name "javaws"
/usr/bin/javaws
/usr/share/bash-completion/completions/javaws
/usr/lib/jvm/java-9-oracle/bin/javaws
/var/lib/dpkg/alternatives/javaws
/etc/alternatives/javaws
/ usr / bin / javaws - > (ou seja, aponta para) / etc / alternatives / javaws *
Eu apontei o jnlp para / usr / bin / javaws nas configurações do Firefox.
Não havia javaws antes do instalador do oracle:
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$ sudo find / -name "*javaws*"
/usr/share/app-install/desktop/icedtea-netx-common:icedtea-netx-javaws.desktop
/usr/share/app-install/icons/javaws.png
/usr/share/bash-completion/completions/javaws
/var/lib/app-info/icons/ubuntu-xenial-universe/64x64/icedtea-netx-common_javaws.png
find: ‘/run/user/1000/gvfs’: Permission denied
milen@milen-Lenovo-B50-80:~$
milen@milen-Lenovo-B50-80:~$