Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-26-2012, 09:36 AM   #1
sojourner
Major Leaguer
 
Join Date: Apr 2010
Posts: 324
Why do I have a Java folder?

I've made it a point not to install Java on my Mac. However, I see a /System/Library/Java folder and a /Library/Java folder. Is it okay to just delete them? And how can I ensure that Java is not installed again?
__________________
see a problem; solve a problem.
sojourner is offline   Reply With Quote
Old 10-26-2012, 10:24 AM   #2
NaOH
Hall of Famer
 
Join Date: Dec 2007
Posts: 3,642
I think the Java-named folders are installed by default, even if they're empty, sort of like how there's typically folders like ~/Library/Sounds even if you haven't installed sounds (like alerts) in a user folder. In that context, I don't think Java has been installed on your machine, and you'll certainly be prompted for it to ever be delivered to your system. That's what I experienced when Creative Suite requested Java.
NaOH is online now   Reply With Quote
Old 10-26-2012, 07:10 PM   #3
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,045
Anything inside /System and /Library should be left completely alone, even empty folders. If you haven't installed Java then there won't be any content, and leaving another empty folder in there won't do any harm. Removing it can cause issues if a program wants to check for a particular file and gets an error it doesn't expect.
acme.mail.order is offline   Reply With Quote
Old 10-26-2012, 07:34 PM   #4
onceagain
All Star
 
Join Date: Aug 2009
Posts: 662
Get a root prompt.

Then:

rm -rf /System/Library/Java
rm -rf /Library/Java
ln -s /dev/null /System/Library/Java
ln -s /dev/null /Library/Java

This will prevent anything from being installed in /System/Library/Java or /Library/Java
onceagain is offline   Reply With Quote
Old 11-17-2012, 04:21 PM   #5
sojourner
Major Leaguer
 
Join Date: Apr 2010
Posts: 324
@onceagain, That looks interesting. Could I use the same technique to prevent eSellerate from installing itself on my computer?
__________________
see a problem; solve a problem.
sojourner is offline   Reply With Quote
Old 11-18-2012, 03:24 AM   #6
benwiggy
League Commissioner
 
Join Date: Aug 2006
Posts: 5,039
Deleting the Java folders is unnecessary. Firstly, Java is not some "virus" that you need to fear. As long as it is disabled in your browser, you are clear from any exploits on any vulnerabilities that it may have.

Secondly, nothing -- neither Java nor eSellerate -- is going to install itself unless you authorise it.

Having just set up a brand new Mac, I can confirm that there are some Java folders even before Java is installed. I concur with Acme.mail.order's advice about leaving /System well alone. Removing folders (or linking them to /dev/null) may have unexpected consequences.
benwiggy is offline   Reply With Quote
Old 12-01-2012, 04:39 PM   #7
sojourner
Major Leaguer
 
Join Date: Apr 2010
Posts: 324
Now that Mountain Lion has the gatekeeper feature, does authorizing software that uses eSellerate automatically authorize eSellerate, or do users get a specific notice before eSellerate installs itself?
__________________
see a problem; solve a problem.
sojourner is offline   Reply With Quote
Old 12-02-2012, 11:55 AM   #8
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,549
My understanding of eSellerate is that it would be installed with the same authorization as the app that requires it. If you somehow preemptively force eSellerate to not work, the app you install will think itself unlicensed, and may not work, or may work in a crippled way, depending on how it's written.
trevor is offline   Reply With Quote
Old 12-03-2012, 08:09 AM   #9
sojourner
Major Leaguer
 
Join Date: Apr 2010
Posts: 324
That would be my understanding and experience as well with pre-Mountain Lion OS. Does it do the same in Mountain Lion?
__________________
see a problem; solve a problem.
sojourner is offline   Reply With Quote
Old 12-03-2012, 03:49 PM   #10
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,549
I don't know, but I doubt that eSellerate is treated as a separate app by Gatekeeper, it's far more likely to be treated as the same app as whatever requires it.

Trevor
trevor is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.