High Sierra is looking for JDK on login

I just got around to upgrading to 10.13.6 High Sierra. Since I upgraded something is trying to run java when I log in and about every hour thereafter, popping an annoying "to use the java command-line too you need to install a JDK" dialog box I need to clear. I've deleted or disabled all login items, extensions, and my .login/.profile/.bashrc. I don't see anything in console messages when I search for "jdk" or "java". Every app seems to be fine, so I see no need to actually install a JDK.


Any ideas? Is more verbose logging possible? I could probably fix this by disabling SIP and replacing the java command with /bin/false or something, but I don't want to that except as a last resort.


MacBook Air 11", macOS 10.13

Posted on May 1, 2020 7:01 PM

Reply
Question marked as Top-ranking reply

Posted on May 5, 2020 10:32 PM

Thanks for the link to Etresoft. It located all kinds of cruft in  ~/Library/LaunchAgents and /Library/Internet Plug-Ins from long-deleted software. I deleted them all and the problem is solved. Since this was so helpful I donated $5 to the Wikimedia Foundation.


List of Cruft:


Unsigned Files:
    Launchd: ~/Library/LaunchAgents/tv.plex.player-helper.plist
        Executable: /Applications/Plex Media Player.app/Contents/MacOS/../Resources/PMP Helper
        Details: Exact match found in the whitelist - probably OK

    Launchd: ~/Library/LaunchAgents/com.google.GoogleContactSyncAgent.plist
        Executable: /System/Library/PrivateFrameworks/GoogleContactSync.framework/Versions/A/Resources/gconsync --sync com.google.ContactSync --periodic
        Details: Exact match found in the whitelist - probably OK

    Launchd: /Library/LaunchDaemons/com.prey.agent.plist
        Executable: /usr/local/lib/prey/current/bin/prey
        Details: Exact match found in the whitelist - probably OK

    Launchd: ~/Library/LaunchAgents/com.adobe.ARM.***.plist
        Executable: /Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper semi-auto
        Details: Close match found in the whitelist - probably OK

    Plugin: /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
    Plugin: /Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin101736.plugin
    Plugin: /Library/Internet Plug-Ins/o1dbrowserplugin.plugin



5 replies
Question marked as Top-ranking reply

May 5, 2020 10:32 PM in response to BDAqua

Thanks for the link to Etresoft. It located all kinds of cruft in  ~/Library/LaunchAgents and /Library/Internet Plug-Ins from long-deleted software. I deleted them all and the problem is solved. Since this was so helpful I donated $5 to the Wikimedia Foundation.


List of Cruft:


Unsigned Files:
    Launchd: ~/Library/LaunchAgents/tv.plex.player-helper.plist
        Executable: /Applications/Plex Media Player.app/Contents/MacOS/../Resources/PMP Helper
        Details: Exact match found in the whitelist - probably OK

    Launchd: ~/Library/LaunchAgents/com.google.GoogleContactSyncAgent.plist
        Executable: /System/Library/PrivateFrameworks/GoogleContactSync.framework/Versions/A/Resources/gconsync --sync com.google.ContactSync --periodic
        Details: Exact match found in the whitelist - probably OK

    Launchd: /Library/LaunchDaemons/com.prey.agent.plist
        Executable: /usr/local/lib/prey/current/bin/prey
        Details: Exact match found in the whitelist - probably OK

    Launchd: ~/Library/LaunchAgents/com.adobe.ARM.***.plist
        Executable: /Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper semi-auto
        Details: Close match found in the whitelist - probably OK

    Plugin: /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
    Plugin: /Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin101736.plugin
    Plugin: /Library/Internet Plug-Ins/o1dbrowserplugin.plugin



May 5, 2020 8:19 PM in response to W Sanders

EtreCheck is a simple little app to display the important details of your system configuration and allow you to copy that information to the Clipboard. It is meant to be used with Apple Support Communities to help people help you with your Mac.

http://www.etresoft.com/etrecheck


Pastebin is a good place to paste the whole report if you capture the URL while there…

https://pastebin.com/


Workable but harder for me to work with...the Note tool on the bottom of this editor's toolbar, as shown in the image, to copy and paste the output from EtreCheck. In a Reply before you click post, look for this to add longer texts...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

High Sierra is looking for JDK on login

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.