Error: Invalid Data. Review all error messages below to correct your data.
I am getting the error "To use the Java command-line tool you need to install a JDK" How do I fix this?
When running Switch on a Mac I am getting a message saying “To use the Java command-line tool you need to install a JDK”.
Apple included its own flavor of Java in OSX before Mountain Lion. When an application which still relies on the Apple flavor of Java is started, then this error message is shown. Since it relies on the Apple flavor of Java, the issue is not fixed by installing the latest version of Oracle Java. The official Java help page describing the issue can be found here.
Some configurators use Java internally (HP Digital Front End JDF Control) or automate a Java application (Saxon), hence this error message can be shown when Switch uses these configurators.
It is possible to install the old Apple flavor of Java in recent OSX versions using the instructions on this here.