Skip to main content

clicknium.java.uninstall

def uninstall(self, java_install_path: str = '') -> None

Uninstall Java extension.

Parameters:
java_install_path: str
The Java installation path, like "C:\Program Files\Java\jdk-17.0.2\bin". The system will try to find it under "Program Files && Program Files (x86)" if this parameter is not specified.

Returns:
None

Example:


from clicknium import clicknium as cc

# uninstall Java extension with default java installation path "Program Files && Program Files (x86)"
cc.java.extension.uninstall()

# uninstall Java extension with specified java installation path
cc.java.extension.uninstall(java_install_path = "C:\\Program Files\\Java\\jdk-17.0.2\\bin")