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

rockinrocker

macrumors 65816
Original poster
Aug 21, 2006
1,322
0
I recently updated to High Sierra (I know, I know, I'm behind the times. Don't care.) and then this pop up started showing up randomly.

I clicked through to the site linked in the popup and installed the Java update that was there, but I'm still getting the update.

Any ideas?

Thanks

Screen Shot 2018-10-05 at 5.22.54 PM.png
 
I recently updated to High Sierra (I know, I know, I'm behind the times. Don't care.) and then this pop up started showing up randomly.

I clicked through to the site linked in the popup and installed the Java update that was there, but I'm still getting the update.

Any ideas?

Thanks

View attachment 792431

Here is my post about this issue from two years ago:

I had this popup for a long time. Something is asking for Legacy Java, but installing oracle Java will not work. It is looking for an older version that use to be put out by Apple.

It drove me nuts for several OS upgrades, it always asked for the Apple Java install. Each time I would have to go online and find the specific update needed. Here is the one for Lion through El Capitan:

https://support.apple.com/kb/dl1572?locale=en_US


After a few OS upgrades over the years, a few months ago I decided I either needed to reformat the computer, or track down and kill the app that had been asking for this Legacy Java program once and for all.

In my case, It turned out a very old obsolete program called t-mobile bobsled (it use to give free telephone calls) that launched a daemon helper app at every startup up that used the old apple Java. I finally figured it out by going into several system folders until I found the offending program. Here is an article that shows some places to look:

http://www.macworld.com/article/2047747/take-control-of-startup-and-login-items.html

I would recommend trying to find the offending app/ process by checking the library & daemon folders above, as whenever the nextmajor OS revision you will have the same problem
 
  • Like
Reactions: sensed
Thanks for the response.

Dang, that sounds more complicated that I was expecting, ha ha.

I'll look into that and see if I can figure out what's causing that.

Thanks again!
 
Not sure what site the popup takes you to, but, could always just install the JDK from Oracle's site. Will eat up a few 100MB.

https://www.oracle.com/technetwork/java/javase/downloads/index.html

But, I'd probably do what Richdmoore did, track down what is using Java. Java is a perennial security hole and is a dying/dead thing for desktop (ergo, whatever is using the Java is probably obsolete, really old, and is not maybe being used).
 
Ok, I found a couple plist files named "java helper tool" and "java updater". I'll start by deleting those and see if it works.
 
So that didn't work.

I found one other file under system->Library->Launch Agents called com.apple.java.installondemand.plist

This sounds like exactly what I'm looking for, but the OS won't let me delete it. "File name can't be deleted because MacOS requires it".

Is there a way to get around that?
 
Guessing removing those plists will not do anything, as they are part of core Java. As Richdmoore pointed out, that popup is coming from some program you have installed on the machine and is being started by Login Items or a LaunchAgent. And it might a program no longer on your machine (ie. deleted the app, but left the plists around).

Can start to look for it auto-magically by running following from a Terminal to see if some candidate in the Launch folders:
Code:
cd /Library
find Launch* -type f -name '*.plist' -exec egrep -l -i 'java|jre|javac' {} \;
cd /System/Library
find Launch* -type f -name '*.plist' -exec egrep -l -i 'java|jre|javac' {} \;

And then see if in your Login Items some old program that might be calling. Can go to the programs .app container and see if there is a script file in there that is calling Java.
 
Sorry, never used terminal at all.
Should I just copy and paste that whole thing?

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.