![]() Go to the official website to download jdk: Extract to the installation directory software]# tar -zxvf /jdk1.8.0_161-linux-圆4.tar.gz -C /usr/local/java/Īdd at the end of the /etc/profile file after installation software]# vim /etc/profileĮxport JAVA_HOME=/usr/local/java/jdk1.8. This command will allow you to remove the JDK packages from your system. Confirm the purge process by clicking Y 1. The process will begin when you click Y, and the software will be deleted from your Ubuntu Workstation. ![]() Java commands are not recognized after uninstallation is complete lib]# java -version Uninstalling OpenJDK on Linux Redhat Step 1: Open the terminal and type the following command: sudo rpm -qa grep openjdk This command will list all the. In order to uninstall the JDK in Red Hat Linux, you will need to use the rpm command. purge openjdk To confirm the uninstall procedure, the system will prompt with a y/n option. Uninstall command: jre]# yum -y remove java-1.8.0-openjdk-headless-1.8.0.86_64 How to uninstall OpenJDK Ask Question Asked 9 years, 9 months ago Modified 1 year ago Viewed 375k times 56 I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: sudo apt-get purge openjdk-7-jre Reading package lists. To uninstall the Microsoft Build of OpenJDK installed through Homebrew or PKG, use the following commands: Bash sudo rm -rf /Library/Java/JavaVirtualMachines/microsoft-17.jdk sudo pkgutil -forget com.microsoft.17.jdk To uninstall the package installed through the TAR. Im using wsl2 ubuntu 20.04.5 I accidentally installed too many openjdk. Java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64 I just installed Ubuntu, and this is my first time working in a Linux environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |