
Enter the following syntax into the command field, substituting the version of Java that you want to remove.

In BatchPatch, highlight the target hosts and select ‘Actions > Execute remote process/command > Create/modify remote command 3 (logged output)’.Method 2: Uninstall a specific Java version, by name query: However, before proceeding with either method, please review this article to learn why some sysadmins are opposed to using the Win32_Product class. Both of the following uninstallation methods utilize the Win32_Product class. Methods 2 and 3 should be used with caution. In the ‘All Messages’ column we see exit code 0, which indicates success.
#Remove java command line tool mac update#
On my test machine I located the UninstallString value for Java 8 Update 31, and it contains the following data: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Generally one of the following two registry keys will contain the UninstallString value that we are looking for:
#Remove java command line tool mac how to#
Today I’d like to show you how to remove Java from many computers using BatchPatch. As with many typical sysadmin tasks, removing software on remote computers is very quick and simple with BatchPatch.

One task that nearly every administrator has to complete at some point or another is the removal of Java.
