Uninstalling Javaws via KACE
Hi all,
Does anybody know a way to uninstall Oracle Java Web Start from all Mac devices via KACE?
Thanks in advance.
Answers (2)
Interesting, I am looking at a spare Macbook (OS Mojave 10.14.6) I have that has never had Java installed and im thinking that this comes as a part of the OS for all Macs. We dont have any special configs on our macs when we lease/purchase them.
Location:
/System/Library/CoreServices/Java Web Start.app
I dont think you would get charged for a license for that.
If you really wanted to remove it you could try running the sudo rm -rf command on that app location i posted. but i would advise not to delete it
Top Answer
From what I read it looks like Java Web Start is installed with your current version of Java JDK
Location for JDK installs are: /Library/Java/JavaVirtualMachines/
ex current latest version would be Java JDK 16: /Library/Java/JavaVirtualMachines/jdk-16.jdk
ex to remove JDK 16 w/ Kace Online Shell Script
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-16.jdk
If you are OK with removing all Java related installs from mac you can create an Online Shell Script for Macs
First 3 lines will remove Java JRE & java Control panel from system preferences. last line will remove Java JDK16. you would change that to the version/s you have install that you wish to remove
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Oracle/Java
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-16.jdk
Comments:
-
Thanks mate. The only issue I've is that it came with the OS because it's under CoreServices (and it's signed by Apple). I didn't install Java JDK or JRE on those devices. And as an business I'm not sure whether we have to pay Oracle for a license, that's why I want to avoid the hustle altogether by removing Javaws - Gwin 3 years ago
-
Kill it with fire, Java requires a license outside of personal use. The only exception is that is a VERY small amount of vendors who have an agreement with oracle, allowing customers to use java installed for the sole purpose of using that application. I recommend removing it if you have even the slightest doubt as Oracle's very good at keeping tabs on license compliance.
I think the license cost for Java is around 25/30 per seat a year. There is not any warnings or license key prompts that will prevent someone from installing Java on a business system nor some application from installing java alongside itself, however it will be VERY expensive if Oracle comes knocking on your door..
Take a look at Adopt OpenJDK and/or OpenWebStart if you have something you know needs java and aren't certain on licensing details. - Kiyolaka 3 years ago