Oracle JDK 11 error occuring every time, I install anything in terminal

余生长醉 提交于 2019-12-05 16:25:22
chunky

Remove the package oracle-java11-installer-local. You can do this in following way:

sudo apt remove oracle-java11-installer-local

Hello,

I've had the same issue.

When you try to run sudo apt update && sudo apt upgrade it will automatically try to update the Java if a newer version is available. In my case let's say from 11.0.4 -> 11.0.5.

If you add the JDK from Oracle (after download) to /var/cache/oracle-jdk11-installer-local/ it should work.

You don't have to uninstall it...(I mean the oracle-jdk11-installer-local, it works just fine).

Please let me know if you still have this issue.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!