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). 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'.
Java SE Development Kit 8 Downloads. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications, applets, and components using the Java programming language. This page describes how to install and uninstall JDK 8 for OS X computers..oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html.
and select Move to Trash. Note: If you cannot find the 'com.facebook.videochat.USERNAME.plist' file then continue to the next step. Then Empty Trash. Restart you MAC and your problem should be gone.
Jdk-8150706 Java For Mac Mac
Note: If the problems persists then continue to the next step.