Recently, oracle introduced new licensing terms for business use. Read what this means for you.
What is Oracle Java?
Java is a programming language and platform used for building applications that run on different operating systems. Java is often used for creating services and web applications.
WHY DO I NEED TO REMOVE ORACLE JAVA?
Recently Oracle has introduced new licensing terms for business use. This has direct financial implications for our institution, and we need your cooperation to ensure we comply with these new terms to avoid any legal consequences and costs.
MY DEVICE IS FROM THE UT
From 6 december, Oracle Java (except version 21*) will be automatically removed from your device. Thereafter, it will no longer be allowed to download and install Oracle Java on your device. Do you need Oracle Java in your work? There is a good alternative you can download, please check the link below.
MY DEVICE IS NOT FROM THE UT (OR NOT MANAGENED BY THE UT)
We urge you to uninstall Oracle Java (except version 21*) from your device. This is essential to comply with the new regulations and avoid any unforeseen costs. Should you need Oracle Java in your work? There is a good alternative you can download, please check the link below.
How do I uninstall Oracle Java on Windows? Windows 11
1. Click start, then click ‘settings’ and choose ‘apps’.
2. Choose ‘installed apps’
3. Locate the installation of Java and click ‘uninstall’:
4. Click ‘uninstall’ again and allow the changes made to the system.
The installation is successfully removed from your pc.
Repeat this step for all remaining installations for Java on your machine.
Windows 10
1. Click ‘start’, then click ‘settings’ and choose ‘apps & features’.
2. Locate the installation of Java and click ‘uninstall’:
3. Click ‘uninstall’ again and allow the changes made to the system.
The installation is successfully removed from your pc.
Repeat this step for all remaining installations for Java on your machine.
How do I uninstall Oracle Java on MAC? MAC
Remove one directory and one file (a symlink), as follows:
- Click on the Finder icon located in your dock
- Click on the Utilities folder
- Double-click on the Terminal icon
- In the Terminal window Copy and Paste the commands below:
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Oracle/Java
Fill in the password when requested and confirm.
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
How do I uninstall Oracle Java on Linux? Java Plug-in Uninstall: Mozilla browser
- Open Terminal Window
- Log in as the super user
- Type: rm /usr/lib/mozilla/plugins/libnpjp2.so
- You will be prompted to remove symbolic link:
rm: /usr/lib/mozilla/plugins/libnpjp2.so ? - Type: Y
Java Uninstall
There are two ways to uninstall Java. Please use the method that you used when you installed Java. For example, if you used RPM to install Java, then use the RPM uninstall method.
RPM uninstall
- Note: If you have RPM on your Linux box, you should first find out if Java is already installed using RPM. If Java is not installed using RPM, you should skip reading.
- Open Terminal Window
- Login as the super user
- Try to find jre package by typing: rpm -qa
- If RPM reports a package similar to jre--fcs then Java is installed with RPM.
- To uninstall Java, type: rpm -e jre--fcs
Self-extracting file uninstall
- Find out if Java is installed in some folder. Common locations are /usr/java/jre_ or /opt/jre_nb/jre_/bin/java/
- When you have located the folder, you may delete the folder.
Warning: You should be certain that Java is not already installed using RPM before removing the folder. - Type: rm -r jre
For example: rm -r jre1.7.0
ALTERNATIVE
If you need an alternative to Oracle Java, you may able to replace it with Eclipse Temurin from Adoptium, a free and open-source Java alternative.
NEED HELP?
Do you need help uninstalling Oracle Java SE or are you experiencing problems as a result of this change? Then do not hesitate to contact the Servicedesk ICT!
* Use of the latest version of Oracle Java (version 21) is allowed until September 2026. However, we recommend the alternatives mentioned earlier.
Last edit: 1 September 2024