FIX: To use the java command-line tool you need to install a JDK (MAC OS X)
Last updated on February 17th, 2018
The following pop up message is displayed randomly on a Macbook Pro: "To use the java command line tool you need to install a JDK. Click "More info…" to visit the Java Developer kit download website".
The error is received because an installed application needs Java to run properly, but in newer versions of OS X, the Java support has been removed for security reasons.
This tutorial contains instructions to fix the following problem on MAC OS X: "To use the "java" command-line tool you need to install a JDK"
How to FIX: JAVA command line tools needs JDK (Mac OS X).
Step 1. Delete "facebook.videochat.xxx.plist file
1. Using Finder click Go to Folder
2. At the search box type: ~/Library/LaunchAgents/
3. Right-click at the "com.facebook.videochat.USERNAME.plist"* and select Move to Trash *
* Note: If you cannot find the "com.facebook.videochat.USERNAME.plist" file then continue to the next step.
4. Then Empty Trash.
5. Restart you MAC and your problem should be gone. *
* Note: If the problems persists then continue to the next step.
Step 2. Download and install JAVA.
1. Download JAVA from the following website:
2. When the download is completed, open the .dmg file and install Java 6 runtime for MAC OS X.
3. When the installation is completed, restart your MAC.
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
Vicki Zvargulis
Nov 11, 2019 @ 07:23:56
Thank you so far so good. I am very grateful.
Dee
Nov 06, 2019 @ 05:03:07
Thank you!! The pop up was absolutely doing my head in!!! It was relentless, your fix worked perfectly:)
Michelle P
Nov 05, 2019 @ 01:01:34
THANK YOU!! I regained my sanity by finally getting rid of that annoying pop up.
Toby
Nov 02, 2019 @ 15:45:35
Thank you! By removing the facebook file, it totally fixed the issue.
Jon
Oct 23, 2019 @ 00:12:07
Excellent advice thank you :)
Bob Harper
Oct 19, 2019 @ 00:19:42
I don't find the facebook thing in LaunchAgents, but I still get the popup. I just installed Catalina, and it reappeared (I'd got rid of it some months back) again.
Can anyone help?
TIA.
Dana Curr
Oct 27, 2019 @ 20:27:44
Bob, did you find a fix? I just installed Catalina and am having the same problem. I downloaded Java for macOS 2017-001 but when I tried to install it says that it is unable since a newer version of this package has already been installed.
Frustrating!
seppo tiipii
Oct 14, 2019 @ 11:08:19
why do i need to delete the facebook thing
lakonst
Oct 14, 2019 @ 12:21:21
Because this is causing the problem.
Chris
Oct 09, 2019 @ 18:13:52
Wow :-)) that work for me. Many thanks.
Charlotte
Jul 11, 2019 @ 16:06:05
Hello I can't thank you enough, this worked for me. Finally!! ( iMac:Retina 5K, 27", 2017, High Sierra 10.13.6)
Troy
May 07, 2019 @ 07:28:36
Wow had this issue for years and tried a number of things… it was never java that was the problem it was the facebook file wow. gat dayum thank you so much
Carolyn
Apr 12, 2019 @ 12:42:05
Thank you – this worked for me. Had to go to step 2 as well.
Jesus
Feb 19, 2019 @ 02:50:14
Deleting that facebook file made the trick Pop up doesn't show anymore
Les Shearer
Nov 17, 2018 @ 08:55:37
I followed a similar process but in the end just installed Java 6 and it fixed the problem
Andrés Barra
Nov 11, 2018 @ 09:33:34
thanks, it work for me