6

I am new to Ubuntu 20.04 (or say any version).

I recently upgraded my PC from Ubuntu 18.04 to Ubuntu 20.04.

While in Ubuntu 18.04 I was able to login to my company from file *.jnlp. Required Java version 1.8.

However, after upgrade to Ubuntu 20.04, I am not able to login to my company now.

I am not sure what steps to be taken to run the JNLP file and login.

Pablo Bianchi
  • 15,657
  • Could you try sudo apt -y install icedtea-netx icedtea-plugin and after that javaws yourfile.jnlpand edit your post with the results? – emk2203 Oct 17 '20 at 07:36
  • ashish221@ashish221:~$ sudo apt -y install icedtea-netx icedtea-plugin [sudo] password for ashish221: Reading package lists... Done Building dependency tree
    Reading state information... Done Package icedtea-plugin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: icedtea-netx-common

    E: Package 'icedtea-plugin' has no installation candidate

    – Ashish Agarwal Oct 17 '20 at 07:40
  • The solution is right there in the text. Use sudo apt -y install icedtea-netx-common icedtea-plugin instead of the first command I suggested. – emk2203 Oct 17 '20 at 07:42
  • Please add output of update-java-alternatives -l and which javaws to the question – Pablo Bianchi Oct 17 '20 at 07:44
  • Sorry, I am totally new for Emk2203 ashish221@ashish221:~$ sudo apt -y install icedtea-netx-common icedtea-plugin Reading package lists... Done Building dependency tree
    Reading state information... Done Note, selecting 'icedtea-netx' instead of 'icedtea-netx-common' Package icedtea-plugin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: icedtea-netx-common

    E: Package 'icedtea-plugin' has no installation candidate

    – Ashish Agarwal Oct 17 '20 at 07:55
  • ashish221@ashish221:~$ update-java-alternatives -l java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 – Ashish Agarwal Oct 17 '20 at 07:55
  • I had a typo in there. I meant to do sudo apt -y install icedtea-netx icedtea-netx-common. Please try again. – emk2203 Oct 17 '20 at 08:02
  • ashish221@ashish221:~$ sudo apt -y install icedtea-netx-common Reading package lists... Done Building dependency tree
    Reading state information... Done Note, selecting 'icedtea-netx' instead of 'icedtea-netx-common' icedtea-netx is already the newest version (1.8-0ubuntu8). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
    – Ashish Agarwal Oct 17 '20 at 08:04
  • Java1.8 is required for running application – Ashish Agarwal Oct 17 '20 at 08:05
  • What happens now with javaws yourfile.jnlp? – emk2203 Oct 17 '20 at 08:05
  • ashish221@ashish221:~$ javaws NomuraConnect.jnlp selected jre: /usr/lib/java/jdk1.8.0_261/jre/ Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type. netx: Invalid jnlp file NomuraConnect.jnlp

    File is saved in desktop. Do I need to change location of file before running it.

    – Ashish Agarwal Oct 17 '20 at 08:08
  • You can try, but with the error being netx: Invalid jnlp file NomuraConnect.jnlp, it finds the file. Looks more like some incompatibility. Someone with more knowledge of jnlp workings needs to chime in. Please read this https://stackoverflow.com/questions/56473970/icedtea-version-1-8-is-unable-to-open-any-jnlp-file for more information. – emk2203 Oct 17 '20 at 08:14
  • Thank you so much for help... I hope someone else can help me with command to correct setup in Ubuntu20.04 – Ashish Agarwal Oct 17 '20 at 08:29
  • 1

1 Answers1

9

The current package you need to install for .jnlp to run is:

sudo apt install icedtea-netx
Kulfy
  • 17,696