how to completely remove OpenJDK?
I installed openjdk today on Debian 7 and I now want to remove it so I did
Code:
sudo apt-get remove openjdk-7-jre Code:
dpkg --list | grep -i jdk Code:
ii icedtea-6-jre-cacao:amd64 6b27-1.12.5-1 amd64 Alternative JVM for OpenJDK, using Cacao |
Some help on this page maybe.
https://www.linuxquestions.org/quest...ackage-237772/ May have to do some more drastic steps also. Like stopping any reference to startup services or use force option. In old times you had to manually find out what all was installed and remove one at a time. |
If I just do the apt-get remove openjdk-7-jre, will that be enough to go and install Oracle Java 7 and have it as default? Also a really weird thing, I still have OpenJDK 7 installed however when I type Java - version I get 1.6 rather than 1.7 so do I have OpenJDK 6?
|
java
Try 'which java' to see the path. If it is still an openjdk path then try 'apt-get purge openjdkXXX'.
After installing Oracle's JDK make an environmental variable JDK_HOME in .bashhrc or .profile pointing to the Oracle install. Add $JDK_HOME/jre/bin:$JDK_HOME/bin to the front of your PATH. Good luck. |
Try this, I hope it will help.
http://askubuntu.com/questions/13970...nstall-openjdk http://stackoverflow.com/questions/1...tely-in-ubuntu |
All times are GMT -5. The time now is 06:32 PM. |