Answer the question
In order to leave comments, you need to log in
How to properly uninstall JDK on Linux?
At first I installed JDK 1.8, but something conflicted with it and installed JDK 1.7 instead
. But I did it apparently somehow crookedly, that tails remained from 1.8. Now, when updating through the update manager, it returns an error:
E: jdk1.8.0-40: subprocess installed post-removal script returned error code 127.
Answer the question
In order to leave comments, you need to log in
sudo mkdir -p /usr/java
sudo touch /usr/java/aa
sudo touch /usr/sbin/alternatives
sudo apt-get remove jdk1.8.0-40
unpick deb 1.8
you will see that where it was placed , it is
necessary to analyze the scripts, maybe what was created from them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question