Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 15, 2013, 07:42 PM   #1
Dirtyharry50
macrumors 65816
 
Join Date: May 2012
How do I completely remove Java from my Mac?

I do not trust java and as far as I know do not need it for anything on my Mac. So, I would like to remove it entirely from OS X and also from Safari and Firefox. It does not seem worth the security risk where i am unaware of any benefit to having it on my system.

I am running OS X 10.8.3

Thanks for any help with this.
Dirtyharry50 is offline   0 Reply With Quote
Old Mar 15, 2013, 07:50 PM   #2
Intell
macrumors P6
 
Intell's Avatar
 
Join Date: Jan 2010
Location: Inside
It isn't installed by default on 10.8. So unless you manually installed it, it isn't on your system.
__________________
Last edited by Intell; Yesterday at 3:16 AM.
Intell is offline   0 Reply With Quote
Old Mar 15, 2013, 08:34 PM   #3
Shrink
macrumors Demi-God
 
Shrink's Avatar
 
Join Date: Feb 2011
Location: New England, USA
Quote:
Originally Posted by Dirtyharry50 View Post
I do not trust java and as far as I know do not need it for anything on my Mac. So, I would like to remove it entirely from OS X and also from Safari and Firefox. It does not seem worth the security risk where i am unaware of any benefit to having it on my system.

I am running OS X 10.8.3

Thanks for any help with this.
If you want to double check, go to System Preferences > Other (which is the fifth line down). With 10.8 if it's not in Other, you don't have it installed.

Also, go to Safari > Preferences > Security...and make sure "Enable Java" is NOT checked.
__________________
Two things are infinite, the universe and human stupidity; and I'm not sure about the universe. -- Albert Einstein
Shrink is online now   1 Reply With Quote
Old Mar 16, 2013, 03:53 AM   #4
benwiggy
macrumors 68020
 
Join Date: Jun 2012
Quote:
Originally Posted by Dirtyharry50 View Post
It does not seem worth the security risk where i am unaware of any benefit to having it on my system.
As said, it won't be on your system unless something requires it.

Having said that, the main problem with Java relates to running malicious code in the browser.

There is nothing inherently unsafe in having Java installed on your Mac, if it is disabled in your web browser. No more so than any of the other languages installed, such as Perl, Ruby, Python, and the Unix Shell, which can all run programs to do "Bad Things".
benwiggy is offline   0 Reply With Quote
Old Mar 16, 2013, 09:32 AM   #5
Dirtyharry50
Thread Starter
macrumors 65816
 
Join Date: May 2012
Quote:
Originally Posted by benwiggy View Post
As said, it won't be on your system unless something requires it.

Having said that, the main problem with Java relates to running malicious code in the browser.

There is nothing inherently unsafe in having Java installed on your Mac, if it is disabled in your web browser. No more so than any of the other languages installed, such as Perl, Ruby, Python, and the Unix Shell, which can all run programs to do "Bad Things".
I don't think that is correct. I read recently about an exploit in a PDF document that used java to execute. You would not need a browser to open such a PDF and presumably if java is on the system, the exploit would not need the browser/plug-in to do whatever it does.

Considering it is problematic from a security standpoint and offers no benefit at least to me personally, I consider it a good idea to simply remove it.

This is a mid-2011 iMac which originally shipped with Lion and was soon thereafter upgraded to Mountain Lion. I never deliberately installed java that I can recall but I will check as noted above to see if it is present on this system.

Okay... I checked and it does not appear in System Preferences/Other so I presume it isn't installed.



----------

Quote:
Originally Posted by Shrink View Post
If you want to double check, go to System Preferences > Other (which is the fifth line down). With 10.8 if it's not in Other, you don't have it installed.

Also, go to Safari > Preferences > Security...and make sure "Enable Java" is NOT checked.
Thanks. It was enabled but I just unchecked it now. I notice Javascript is enabled as well. Does this carry the same risks as allowing Java itself? Is its use prevalent on Websites such as CNN, Amazon.com, Facebook, Macrumors, etc.?

I do not understand what the difference between Java and Javascript in Safari is or if I need to be concerned about allowing Javascript to remain enabled.

Thanks.
Dirtyharry50 is offline   0 Reply With Quote
Old Mar 16, 2013, 09:38 AM   #6
WordMasterRice
macrumors 6502a
 
Join Date: Aug 2010
Location: Upstate NY
Quote:
Originally Posted by Dirtyharry50 View Post

Thanks. It was enabled but I just unchecked it now. I notice Javascript is enabled as well. Does this carry the same risks as allowing Java itself? Is its use prevalent on Websites such as CNN, Amazon.com, Facebook, Macrumors, etc.?

I do not understand what the difference between Java and Javascript in Safari is or if I need to be concerned about allowing Javascript to remain enabled.

Thanks.
For the most part nowadays the Internet simply doesn't function without JavaScript. Facebook would be all but broken without it. I really loath the fact that it's called JavaScript because in reality JAvascript has as much in common with Java as Carhartts do with Cars, yes they both have the word car in them but that's it.
JavaScript is named the way it is because when it was first coming out Java was beginning to become popular and the people behind it wanted to use the java name to capitalize on it's popularity. In fact the two are not related in any way.
WordMasterRice is offline   0 Reply With Quote
Old Mar 16, 2013, 09:40 AM   #7
rocknblogger
macrumors 68000
 
rocknblogger's Avatar
 
Join Date: Apr 2011
Location: New Jersey
Send a message via Skype™ to rocknblogger
Quote:
Originally Posted by Dirtyharry50 View Post

I do not understand what the difference between Java and Javascript in Safari is or if I need to be concerned about allowing Javascript to remain enabled.

Thanks.
Even though they share a similar name JavaScript has nothing to do with Java and is safe.
__________________
Don't be stupid.
rocknblogger is offline   0 Reply With Quote
Old Mar 16, 2013, 10:42 AM   #8
Stooby Mcdoobie
macrumors 6502a
 
Stooby Mcdoobie's Avatar
 
Join Date: Jun 2012
Location: Dallas, TX
Quote:
Originally Posted by Shrink View Post
If you want to double check, go to System Preferences > Other (which is the fifth line down). With 10.8 if it's not in Other, you don't have it installed.
Java doesn't show up in System Preferences for me, but it's installed. I'm on 10.8.2:

Thumb resize.
Stooby Mcdoobie is offline   0 Reply With Quote
Old Mar 16, 2013, 01:30 PM   #9
Shrink
macrumors Demi-God
 
Shrink's Avatar
 
Join Date: Feb 2011
Location: New England, USA
Quote:
Originally Posted by Stooby Mcdoobie View Post
Java doesn't show up in System Preferences for me, but it's installed. I'm on 10.8.2:

Thumb resize.
Sorry!

I was told by Apple Tech Support that with version 10.7 and below, if you have Java it appears in your Applications Folder, and 10.8 and above, it shows up under Other in the computer's System Preferences.

If you don't mind my asking, how do you know Java is installed? Where does it show up?

Thanks...

EDIT: Sorry...brain non-functional...saw the "About My Mac" information...
__________________
Two things are infinite, the universe and human stupidity; and I'm not sure about the universe. -- Albert Einstein

Last edited by Shrink; Mar 16, 2013 at 01:56 PM.
Shrink is online now   0 Reply With Quote
Old Mar 16, 2013, 01:42 PM   #10
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by Dirtyharry50 View Post
I do not trust java and as far as I know do not need it for anything on my Mac. So, I would like to remove it entirely from OS X and also from Safari and Firefox. It does not seem worth the security risk where i am unaware of any benefit to having it on my system.

I am running OS X 10.8.3

Thanks for any help with this.
As others have said, Java is completely different from JavaScript (which is required for many websites to function properly). Java is not installed on OS X 10.8 unless you installed it. The primary thing you need to be concerned with related to Java is having it disabled in your browser until you visit a trusted site that requires it. Then you can enable it only for the duration of your visit.

For more information, read the What security steps should I take? section of the Mac Virus/Malware FAQ for tips on practicing safe computing.
GGJstudios is offline   0 Reply With Quote
Old Mar 16, 2013, 01:57 PM   #11
Stooby Mcdoobie
macrumors 6502a
 
Stooby Mcdoobie's Avatar
 
Join Date: Jun 2012
Location: Dallas, TX
Quote:
Originally Posted by Shrink View Post
Sorry!

I was told by Apple Tech Support that with version 10.7 and below, if you have Java it appears in your Applications Folder, and 10.8 and above, it shows up under Other in the computer's System Preferences.

If you don't mind my asking, how do you know Java is installed? Where does it show up?

Thanks...
I misunderstood. I have the JDK, as illustrated by the output I get when I run the java -version command in terminal; but, for some reason, I'm missing the actual Java plug-in. According to Oracle's website, you're correct - it should show up in System Preferences.
Stooby Mcdoobie is offline   0 Reply With Quote
Old Mar 17, 2013, 06:03 AM   #12
Dirtyharry50
Thread Starter
macrumors 65816
 
Join Date: May 2012
Thanks all for the clarification on javascript. I did some reading about it since asking and was not aware it is so prevalent on the Web. I tend to stick to well known trusted sites so I'm not too worried about javascript now.

As for java, I did run: java - version in a terminal window as a check to see if it was installed and found it was not for sure. I got the message back: No java runtime present and then a dialog box popped up offering to install it if I wanted, which I dismissed with a no thanks.

Thank you again everyone for the helpful information.
Dirtyharry50 is offline   0 Reply With Quote
Old May 1, 2013, 06:13 AM   #13
hotelmedicis
macrumors newbie
 
Join Date: May 2013
Completely Remove Java from your Mac

I have completely removed JAVA from my MacBook Pro and have not looked back. No regrets. I simply don't need it on my machine and though I use Gmail I will deal with the basic look instead of the standard look. One bummer is that you need Java for managing your Apple ID.

If you don't NEED Java on your machine, dump it. Period. If you find later that you do need it, it's a simple re-install that takes just a few minutes.

Bombproof your mac!
hotelmedicis is offline   1 Reply With Quote
Old May 1, 2013, 09:58 AM   #14
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by hotelmedicis View Post
If you don't NEED Java on your machine, dump it. Period. If you find later that you do need it, it's a simple re-install that takes just a few minutes.
It's not necessary to remove it to be safe. If you simply disable it in your browser, you can surf securely. Then, when you encounter a trusted site that needs it, you can enable it for the duration of your visit.
GGJstudios is offline   0 Reply With Quote
Old May 1, 2013, 10:18 AM   #15
benwiggy
macrumors 68020
 
Join Date: Jun 2012
Quote:
Originally Posted by hotelmedicis View Post
If you don't NEED Java on your machine, dump it. Period. Bombproof your mac!
There are several other environments on your Mac that can run code which can do Bad Things™. The Unix shell, Perl, Python, Ruby, AppleScript, and various forms of C. And EMACS, probably. ;-) All of these can be used to execute "Malicious" code.

The only difficult bit is getting the code onto your Mac and executing it. The only problem with Java was that you could execute Java unchecked in a browser, which makes an easy attack vector.

Patches to Java itself, along with Apple's white/black list for Java in Safari makes the Java installation completely safe (well, as safe as any other language and the code you choose to run on it).
__________________
2012 MacMini, 2.6GHz i7, 16Gb RAM, Fusion Drive | 2012 MacBook Pro, 16Gb RAM, 480 Gb SSD |
2009 MacBook | 2006 iMac | 2003 G3 iBook | Beige G3 | PowerMac 7600 | Mac IIsi |
benwiggy is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Couldn't completely uninstall Java 7 Help! Kmartins1 Mac Basics and Help 2 Feb 15, 2014 07:56 PM
iPhone: Remove tweak completely? BullittMustang Jailbreaks and iOS Hacks 12 Jan 16, 2014 01:12 PM
Seems I can't completely uninstall Oracle Java 7 JSt83 Mac Applications and Mac App Store 8 Jan 7, 2014 12:19 PM
Completely remove OS X, use W8, problem... Coflash Windows, Linux & Others on the Mac 5 Jul 14, 2013 03:25 AM
Completely Remove JB Settings KnightFox Jailbreaks and iOS Hacks 1 Jun 20, 2012 05:12 AM

Forum Jump

All times are GMT -5. The time now is 09:05 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC