I can confirm that this affects a clean install of Ubuntu 18.04. Steps
to reproduce:

- install Ubuntu 18.04. Fully update it
- install "default-jdk" (sudo apt install default-jdk)
- try running the very simple attached program which tries to retrieve 
"https://www.google.com";
- it fails with javax.net.ssl.SSLException (see the complete stacktrace in the 
attachment)

Workaround: remove default-jdk, install openjdk-8, remove openjdk-8 and
reinstall default-jdk:

sudo apt purge openjdk-default java-common
sudo apt purge default-jdk java-common
sudo apt install openjdk-8-jre
sudo apt purge openjdk-8-jre
sudo apt install default-jdk


** Attachment added: "exception.txt"
   
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1768799/+attachment/5138705/+files/exception.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768799

Title:
  Java can't connect to https sites

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1768799/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to