Is this safe method to check if JAVA is not installed?

Discussion in 'Mac Basics and Help' started by Aqewwe, Mar 29, 2017.

  1. Aqewwe macrumors newbie

    Mar 29, 2017
    The OS X Terminal (in the /Applications/Utilities/ folder) provided access to a number of commands that can be used for looking up system information, and by running the following one in the Terminal you should be able to see in the output what Java runtimes (if any) are installed on your computer:

    sudo /usr/libexec/java_home

    Is it safe to type

    sudo /usr/libexec/java_home

    into Terminal to see if there is Java? I want to make sure I don´t have it.
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    It doesn't need the 'sudo'. Or shouldn't. This should work:
    You can copy that line and paste it into a Terminal window, rather than typing it manually and possibly making an error. Copy-paste should reduce chances of typos.

Share This Page