Trying to install a MySQL database driver and receiving the error:
Cannot find a JRE or JDK. Please set JAVA_HOME to a >=<version>
If this is encountered,
- Ensure java has been installed and is running.
- Check to see if the correct java version is being used.
- Check you have run the command:
This should be added to your
~/.bashrc profile. Please take note that the profile file and the Java path may be different for the your system.