Skip to content

Instantly share code, notes, and snippets.

@qsrahman
Last active October 27, 2017 16:25
Show Gist options
  • Select an option

  • Save qsrahman/0afe6531ba361de7eef1ebcae6f9d424 to your computer and use it in GitHub Desktop.

Select an option

Save qsrahman/0afe6531ba361de7eef1ebcae6f9d424 to your computer and use it in GitHub Desktop.

Revisions

  1. qsrahman revised this gist Oct 27, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion uninstall_java.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ sudo rm -fr ~/Library/Application\ Support/Java

    Uninstall JDK:

    Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:
    Remove the directory whose name matches the following format:

    sudo rm -fr /Library/Java/JavaVirtualMachines/jdkmajor.minor.macro[_update].jdk

  2. qsrahman revised this gist Oct 27, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions uninstall_java.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
    sudo rm -fr ~/Library/Application\ Support/Java

    Uninstall JDK:

    Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:

    sudo rm -fr /Library/Java/JavaVirtualMachines/jdkmajor.minor.macro[_update].jdk
  3. qsrahman revised this gist Oct 27, 2017. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions uninstall_java.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

    sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane

    sudo rm -fr ~/Library/Application\ Support/Java

    Uninstall JDK:
    @@ -8,4 +10,5 @@ Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose nam
    sudo rm -fr /Library/Java/JavaVirtualMachines/jdkmajor.minor.macro[_update].jdk

    For example, to uninstall 8u66:

    sudo rm -fr /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk
  4. qsrahman revised this gist Oct 27, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion uninstall_java.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
    sudo rm -fr ~/Library/Application\ Support/Java

  5. qsrahman created this gist Oct 27, 2017.
    11 changes: 11 additions & 0 deletions uninstall_java.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
    sudo rm -fr ~/Library/Application\ Support/Java

    Uninstall JDK:
    Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:

    sudo rm -fr /Library/Java/JavaVirtualMachines/jdkmajor.minor.macro[_update].jdk

    For example, to uninstall 8u66:
    sudo rm -fr /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk