Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aqewwe

macrumors newbie
Original poster
Mar 29, 2017
1
0
https://www.cnet.com/how-to/how-to-check-for-and-disable-java-in-os-x/
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.
 
It doesn't need the 'sudo'. Or shouldn't. This should work:
Code:
/usr/libexec/java_home
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.
 
  • Like
Reactions: CreatorCode
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.